home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Standards 1994 January / InfoMagic Standards - January 1994.iso / ccitt / 1988 / troff / 8_2_05.tro < prev    next >
Text File  |  1991-12-22  |  133KB  |  3,983 lines

  1. .rs
  2. .\" Troff code generated by TPS Convert from ITU Original Files
  3. .\"                 Not Copyright (~c) 1991 
  4. .\"
  5. .\" Assumes tbl, eqn, MS macros, and lots of luck.
  6. .TA 1c 2c 3c 4c 5c 6c 7c 8c
  7. .ds CH
  8. .ds CF
  9. .EQ
  10. delim @@
  11. .EN
  12. .nr LL 40.5P
  13. .nr ll 40.5P
  14. .nr HM 3P
  15. .nr FM 6P
  16. .nr PO 4P
  17. .nr PD 9p
  18. .po 4P
  19.  
  20. .rs
  21. \v'|.5i'
  22. .LP
  23. \fBMONTAGE : \(sc 2.4.8.6 EN T\*\|ETE DE CETTE PAGE\fR 
  24. .sp 1P
  25. .LP
  26. \v'10P'
  27. 2.5
  28.     \fIMultilink procedure\fR \fI(MLP) (\fR \fISubscription\(hytime\fR 
  29. \fIselectable option\fR \fI)\fR 
  30. .sp 9p
  31. .RT
  32. .PP
  33. The multilink procedure (MLP) exists as an added upper sublayer of the 
  34. Data Link Layer, operating between the Packet Layer and a multiplicity 
  35. of single data link protocol functions (SLPs) in the Data Link Layer (see 
  36. Figure\ 1/X.25).
  37. .EF '%    Fascicle\ VIII.2\ \(em\ Rec.\ X.25''
  38. .OF '''Fascicle\ VIII.2\ \(em\ Rec.\ X.25    %'
  39. .PP
  40. A multilink procedure (MLP) must perform the functions of accepting
  41. packets from the Packet Layer, distributing those packets across the available 
  42. DCE or DTE\ SLPs for transmission to the DTE or DCE\ SLPs, respectively, 
  43. and 
  44. resequencing the packets received from the DTE or DCE\ SLPs for delivery 
  45. to the DTE or DCE Packet Layer, respectively. 
  46. .RT
  47. .LP
  48. .rs
  49. .sp 26P
  50. .ad r
  51. \fBFigure 1/X.25, p.\fR 
  52. .sp 1P
  53. .RT
  54. .ad b
  55. .RT
  56. .LP
  57. .bp
  58. .sp 1P
  59. .LP
  60. 2.5.1
  61.     \fIField of application\fR 
  62. .sp 9p
  63. .RT
  64. .PP
  65. The optional multilink procedure (MLP) described below is used for data 
  66. interchange over one or more single link procedures (SLPs), each 
  67. conforming to the description in \(sc\(sc\ 2.2, 2.3 and 2.4, in parallel 
  68. between a DCE and a DTE. The multilink procedure provides the following 
  69. general 
  70. features:
  71. .RT
  72. .LP
  73.     a)
  74.     achieve economy and reliability of service by providing
  75. multiple SLPs between DCE and a DTE;
  76. .LP
  77.     b)
  78.     permit addition and deletion of SLPs without interrupting
  79. the service provided by the multiple SLPs;
  80. .LP
  81.     c)
  82.     optimize bandwidth utilization of a group of SLPs through
  83. load sharing;
  84. .LP
  85.     d)
  86.     achieve graceful degradation of service when an SLP(s)
  87. fails;
  88. .LP
  89.     e)
  90.      provide each multiple SLP group with a single logical Data Link Layer 
  91. appearance to the Packet Layer; and 
  92. .LP
  93.     f
  94. )
  95.      provide resequencing of the received packets prior to delivering them 
  96. to the Packet Layer. 
  97. .sp 1P
  98. .LP
  99. 2.5.2
  100.     \fIMultilink frame\fR \fIstructure\fR 
  101. .sp 9p
  102. .RT
  103. .PP
  104. All information transfers over an SLP are in multilink frames
  105. conforming to one of the formats shown in Table\ 9/X.25.
  106. .RT
  107. .LP
  108. .rs
  109. .sp 16P
  110. .ad r
  111. \fBTable 9/X.25 (comme figure), p.\fR 
  112. .sp 1P
  113. .RT
  114. .ad b
  115. .RT
  116. .sp 1P
  117. .LP
  118. 2.5.2.1
  119.     \fIMultilink control field\fR 
  120. .sp 9p
  121. .RT
  122. .PP
  123. The multilink control field (MLC) consists of two octets, and its contents 
  124. are described in \(sc\ 2.5.3. 
  125. .RT
  126. .sp 1P
  127. .LP
  128. 2.5.2.2
  129.     \fIMultilink information field\fR 
  130. .sp 9p
  131. .RT
  132. .PP
  133. The information field of a multilink frame, when present, follows the MLC. 
  134. See \(sc\(sc\ 2.5.3.2.3 and\ 2.5.3.2.4 for the various codings and groupings 
  135. of bits in the multilink information field. 
  136. .RT
  137. .sp 2P
  138. .LP
  139. 2.5.3
  140.     \fIMultilink control field format and parameters\fR 
  141. .sp 1P
  142. .RT
  143. .sp 1P
  144. .LP
  145. 2.5.3.1
  146.     \fIMultilink control field format\fR 
  147. .sp 9p
  148. .RT
  149. .PP
  150. The relationship shown in Table 10/X.25 exists between the order of bits 
  151. delivered to/received from an SLP and the coding of the fields in the 
  152. multilink control field.
  153. .RT
  154. .sp 1P
  155. .LP
  156. 2.5.3.2
  157.     \fIMultilink control field parameters\fR 
  158. .sp 9p
  159. .RT
  160. .PP
  161. The various parameters associated with the multilink control
  162. field format are described below. See Table\ 10/X.25 and
  163. Figure\ 2/X.25.
  164. .bp
  165. .RT
  166. .LP
  167. .rs
  168. .sp 19P
  169. .ad r
  170. \fBTableau 10/X.25 (comme figure), p. 3\fR 
  171. .sp 1P
  172. .RT
  173. .ad b
  174. .RT
  175. .LP
  176. .rs
  177. .sp 31P
  178. .ad r
  179. \fBFigure 2/X.25, p. 4\fR 
  180. .sp 1P
  181. .RT
  182. .ad b
  183. .RT
  184. .LP
  185. .bp
  186. .sp 1P
  187. .LP
  188. 2.5.3.2.1
  189.     \fIVoid sequencing bit (V)\fR 
  190. .sp 9p
  191. .RT
  192. .PP
  193. The 
  194. void sequencing bit (V)
  195. indicates if a received
  196. multilink frame shall be subjected to sequencing constraints. V set to\ 
  197. 1 means sequencing shall not be required. V set to\ 0 means sequencing 
  198. shall be 
  199. required.
  200. .PP
  201. \fINote\fR \ \(em\ For purposes of this Recommendation, this bit shall be set
  202. to\ 0.
  203. .RT
  204. .sp 1P
  205. .LP
  206. 2.5.3.2.2
  207.     \fISequence check option bit (S)\fR 
  208. .sp 9p
  209. .RT
  210. .PP
  211. The 
  212. sequence check option bit (S)
  213. is only significant when V is set to\ 1 (indicating that sequencing of 
  214. received multilink frames shall 
  215. not be required). S set to\ 1 shall mean no MN(S) number has been assigned.
  216. S\ set to\ 0 shall mean an MN(S) number has been assigned, so that although
  217. sequencing shall not be required, a duplicate multilink frame check may be
  218. made, as well as a missing multilink frame identified.
  219. .PP
  220. \fINote\fR \ \(em\ For purposes of this Recommendation, this bit shall be set
  221. to\ 0.
  222. .RT
  223. .sp 1P
  224. .LP
  225. 2.5.3.2.3
  226.     \fIMLP reset request bit (R)\fR 
  227. .sp 9p
  228. .RT
  229. .PP
  230. The 
  231. MLP reset request bit (R)
  232. is used to request a
  233. multilink reset (see \(sc\ 2.5.4.2). R set to\ 0 is used in normal communication, 
  234. i.e.\ no request for a multilink reset. R set to 1 is used by the DCE MLP 
  235. or DTE MLP to request the reset of the DTE MLP or DCE MLP state variables, 
  236. respectively. In this R\ =\ 1\ case, the multilink information field does not
  237. contain Packet Layer information, but may contain an optional 8\ bit Cause 
  238. Field that incorporates the reason for the reset. 
  239. .PP
  240. \fINote\fR \ \(em\ The encoding of the Cause Field is a subject for further
  241. study.
  242. .RT
  243. .sp 1P
  244. .LP
  245. 2.5.3.2.4
  246.     \fIMLP reset confirmation bit (C)\fR 
  247. .sp 9p
  248. .RT
  249. .PP
  250. The MLP 
  251. reset confirmation bit (C)
  252. is used in reply to an R bit set to\ 1 (see \(sc\ 2.5.3.2.3) to confirm 
  253. the resetting of the multilink state variables (see \(sc\ 2.5.4.2). C set 
  254. to\ 0 is used in normal communications, 
  255. i.e.\ no multilink reset request has been activated. C set to\ 1 is used 
  256. by the DCE MLP or DTE MLP in reply to a DTE MLP or DCE MLP multilink frame, 
  257. respectively, with R set to\ 1, and indicates that the DCE MLP or DTE MLP 
  258. state variable reset process has been completed by the DCE or DTE, respectively. 
  259. In this C\ =\ 1 case, the multilink frame is used without an information 
  260. field.
  261. .RT
  262. .sp 1P
  263. .LP
  264. 2.5.3.2.5
  265.     \fIMultilink send state variable MV(S)\fR 
  266. .sp 9p
  267. .RT
  268. .PP
  269. The 
  270. multilink send state variable MV(S)
  271. denotes the
  272. sequence number of the next in\(hysequence multilink frame to be assigned to an
  273. SLP. This variable can take on the value 0 through 4095 (modulo\ 4096). The
  274. value of MV(S) is incremented by 1 with each successive multilink frame
  275. assignment.
  276. .RT
  277. .sp 1P
  278. .LP
  279. 2.5.3.2.6
  280.     \fIMultilink sequence number MN(S)\fR 
  281. .sp 9p
  282. .RT
  283. .PP
  284. Multilink frames contain the 
  285. multilink sequence number
  286. MN(S)
  287. . Prior to the assignment of an in\(hysequence multilink frame to an
  288. available SLP, the value of MN(S) is set equal to the value of the multilink
  289. send state variable MV(S). The multilink sequence number is used to resequence 
  290. and to detect missing and duplicate multilink frames at the receiver before 
  291. the contents of a multilink frame information field is delivered to the 
  292. Packet 
  293. Layer.
  294. .RT
  295. .sp 1P
  296. .LP
  297. 2.5.3.2.7
  298.     \fITransmitted multilink frame acknowledged state\fR 
  299. \fIvariable MV(T)\fR 
  300. .sp 9p
  301. .RT
  302. .PP
  303. MV(T) is the state variable at the transmitting DCE MLP or DTE MLP denoting 
  304. the oldest multilink frame which is awaiting an indication that a DCE SLP 
  305. or DTE SLP has received an acknowledgement from its remote DTE SLP or DCE 
  306. SLP, respectively. This variable can take on the value 0 through 4095 
  307. (modulo\ 4096). Some multilink frames with sequence numbers higher than MV(T)
  308. may already have been acknowledged.
  309. .RT
  310. .sp 1P
  311. .LP
  312. 2.5.3.2.8
  313.     \fIMultilink receive state variable MV(R)\fR 
  314. .sp 9p
  315. .RT
  316. .PP
  317. The 
  318. multilink receive state variable MV(R)
  319. denotes the
  320. sequence number at the receiving DCE MLP or DTE MLP of the next in\(hysequence
  321. multilink frame to be received and delivered to the Packet Layer. This 
  322. variable can take on the value\ 0 through\ 4095 (modulo\ 4096). The value 
  323. of MV(R) is 
  324. updated as described in \(sc\ 2.5.4.3.2 below. Multilink frames with higher
  325. sequence numbers in the DCE MLP or DTE MLP receive window may already have 
  326. been received. 
  327. .bp
  328. .RT
  329. .sp 1P
  330. .LP
  331. 2.5.3.2.9
  332.     \fIMultilink window size MW\fR 
  333. .sp 9p
  334. .RT
  335. .PP
  336. MW is the maximum number of sequentially numbered multilink frames that 
  337. the DCE MLP or DTE MLP may transfer to its SLPs beyond the lowest numbered 
  338. multilink frame which has not yet been acknowledged. MW is a system parameter 
  339. which can never exceed 4095\ \(em\ MX. The value of MW shall be agreed 
  340. for a period of time with the Administration and shall have the same value 
  341. for both the 
  342. DCE\ MLP and the DTE MLP for a given direction of information transfer.
  343. .PP
  344. \fINote\fR \ \(em\ Factors which will affect the value of parameter MW 
  345. include, but are not limited to, single link transmission and propagation 
  346. delays, the 
  347. number of links, the range of multilink frame lengths, and SLP parameters 
  348. N2, T1, and\ k. 
  349. .PP
  350. The MLP transmit window contains the sequence numbers MV(T) to MV(T) + 
  351. MW\ \(em\ 1 inclusive. 
  352. .PP
  353. The MLP receive window contains the sequence numbers MV(R) to MV(R) + MW\ 
  354. \(em\ 1 inclusive. Any multilink frame received within this window shall 
  355. be 
  356. delivered to the Packet Layer when its MN(S) becomes the same as
  357. MV(R).
  358. .RT
  359. .sp 1P
  360. .LP
  361. 2.5.3.2.10\ \ 
  362. \fIReceive MLP window guard region MX\fR 
  363. .sp 9p
  364. .RT
  365. .PP
  366. MX is a system parameter which defines a guard region of multilink sequence 
  367. numbers of fixed size beginning at MV(R)\ +\ MW. The range of MX shall 
  368. be large enough for the receiving MLP to recognize the highest MN(S) outside 
  369. of its receive window that it may legitimately receive after a multilink 
  370. frame 
  371. loss has occurred.
  372. .PP
  373. A multilink frame with sequence number MN(S)\ =\ Y received in this
  374. guard region indicates that those missing multilink frame(s) in the range 
  375. MV(R) to Y\ \(em\ MW has(have) been lost. MV(R) is then updated to Y\ \(em\ 
  376. MW\ +\ 1. 
  377. .PP
  378. \fINote\fR \ \(em\ A number of methods may be selected in calculating a value
  379. for the guard region MX:
  380. .RT
  381. .LP
  382.     a)
  383.     In a system where the transmitting MLP assigns \fIh\fR\d\fIi\fR\u\|
  384. in\(hysequence contiguous multilink frames at a time to the
  385. \fIi\fR th SLP, MX should be greater than or equal to the
  386. sum of the \fIh\fR\d\fIi\fR\u\ +\ 1\ \(em\ \fIh\fR\d\fIm\fR\\d\fIi\fR\\d\fIn\fR\u, 
  387. where 
  388. \fIh\fR\d\fIm\fR\\d\fIi\fR\\d\fIn\fR\uequals the smallest \fIh\fR\d\fIi\fR\uencountered. 
  389. Where there are \fIL\fR \ SLPs in the multilink group, MX should
  390. be greater than or equal to:
  391. \v'6p'
  392. .sp 1P
  393. .ce 1000
  394. @ pile {\fIL\fR above sum above \fIi\fR =1
  395. } @ \fIh
  396. \di\u\fR + 1 = \fIh
  397. \dmin
  398. \u\fR ; or
  399. .ce 0
  400. .sp 1P
  401. .LP
  402. .sp 1
  403.     b)
  404.     In a system where the transmitting MLP assigns on a rotation
  405. basis \fIh\fR \| in\(hysequence contiguous multilink frames at a time to
  406. each SLP, MX at the receiving MLP should be greater than or
  407. equal to \fIh\fR (\fIL\fR \ \(em\ 1)\ +\ 1, where \fIL\fR is the number of SLPs
  408. in the multilink group; or
  409. .LP
  410.     c)
  411.     MX should be no larger than MW.
  412. .LP
  413. Additional methods of selecting MX values are for further
  414. study.
  415. .sp 1P
  416. .LP
  417. 2.5.4
  418.     \fIDescription of \fR \fImultilink procedure (MLP)\fR 
  419. .sp 9p
  420. .RT
  421. .PP
  422. The procedure below is presented from the perspective of the
  423. transmitter and receiver of multilink frames.
  424. .PP
  425. The arithmetic is performed modulo 4096.
  426. .RT
  427. .sp 1P
  428. .LP
  429. 2.5.4.1
  430.     \fIInitialization\fR 
  431. .sp 9p
  432. .RT
  433. .PP
  434. The DCE or DTE will perform an MLP initialization by first
  435. resetting MV(S), MV(T) and MV(R) to zero and then initializing each of its
  436. SLPs. Upon successful initialization of at least one of the SLPs, the DCE
  437. shall, and the DTE should, perform the multilink resetting procedure as
  438. described in \(sc\ 2.5.4.2. An SLP initialization is performed according to
  439. \(sc\ 2.4.4.1 of this Recommendation.
  440. .PP
  441. \fINote\fR \ \(em\ An SLP that cannot be initialized should be declared 
  442. out of service and appropriate recovery action should be taken. 
  443. .RT
  444. .sp 1P
  445. .LP
  446. 2.5.4.2
  447.     \fIMultilink resetting\fR \fIprocedure\fR 
  448. .sp 9p
  449. .RT
  450. .PP
  451. The multilink resetting procedure provides the mechanism for
  452. synchronizing the sending and receiving MLPs in both the DCE and the DTE, 
  453. when deemed necessary by either the DCE or the DTE. Exact cases where the 
  454. MLP 
  455. resetting procedures are invoked is for further
  456. .bp
  457. .PP
  458. study. Following a
  459. successful
  460. multilink resetting procedure, the multilink sequence numbering in each
  461. direction begins with the value\ 0. Appendix\ III provides examples of the
  462. multilink resetting procedures when initiated by either the DCE or the 
  463. DTE, or by both the DCE and the DTE simultaneously. 
  464. .PP
  465. A multilink frame with R\ =\ 1 is used to request multilink reset, and 
  466. a multilink frame with C\ =\ 1 confirms that the multilink reset process 
  467. has been completed. An MLP resets MV(S) and MV(T) to zero on transfer of 
  468. a multilink 
  469. frame with R\ =\ 1; and resets MV(R) to zero on receipt of a multilink 
  470. frame with R\ =\ 1. 
  471. .PP
  472. When the DCE MLP or DTE MLP initiates the resetting procedure, it
  473. removes all of the unacknowledged multilink frames that are held in that MLP
  474. and its associated SLPs, and retains control of those frames. Hereafter, the
  475. initiating MLP does not transfer a multilink frame with R\ =\ C\ =\ 0 until the
  476. reset process is completed. (One method to remove multilink frames in the 
  477. SLP is to disconnect the data link of that SLP.) The initiating MLP then 
  478. resets its multilink send state variable MV(S) and its transmitted multilink 
  479. frame 
  480. acknowledged state variable MV(T) to zero. The initiating MLP then transfers 
  481. a multilink frame with R\ =\ 1 as a reset request on one of its SLPs and 
  482. starts 
  483. Timer\ MT3. The value of the MN(S) field in the R\ =\ 1 frame may be any value,
  484. since when R\ =\ 1 the MN(S) field is ignored by the receiving MLP. The
  485. initiating MLP continues to receive and process multilink frames from the
  486. remote MLP, in accordance with the procedures as described in \(sc\ 2.5.4.4 
  487. below until it receives a multilink frame with R\ =\ 1 from the remote 
  488. MLP. 
  489. .PP
  490. An MLP which has received a multilink frame with R\ =\ 1 (reset request) 
  491. in the normal communication status from an initiating MLP starts the operation 
  492. as described above; the MLP should receive no multilink frame with R\ =\ 
  493. C\ =\ 0 
  494. from the other MLP until the reset process is completed. Any such multilink
  495. frame received is discarded. When an MLP has already initiated its own
  496. multilink resetting procedure and has transferred the multilink frame with
  497. R\ =\ 1 to one of its SLPs for transmission, that MLP does not repeat the 
  498. above operation upon receipt of a multilink frame with R\ =\ 1 from the 
  499. other 
  500. MLP.
  501. .PP
  502. Receipt of a frame with R\ =\ 1 (reset request) causes the receiving MLP 
  503. to deliver to the Packet Layer those packets already received and to identify 
  504. those multilink frames assigned to SLPs but unacknowledged. The Packet 
  505. Layer 
  506. may be informed of the packet loss at the original value of MV(R) and at any
  507. subsequent value(s) of MV(R) for which there has been no multilink frame
  508. received up to and including the highest numbered multilink frame received.
  509. The receiving MLP then resets its multilink receive state variable MV(R) to
  510. zero.
  511. .PP
  512. After an MLP assigns a multilink frame with R\ =\ 1 to one of its SLPs, 
  513. it shall receive indication of successful or unsuccessful transmission 
  514. from 
  515. that SLP as one of the conditions before transferring a multilink frame with
  516. C\ =\ 1; when the initiating MLP then receives a multilink frame with R\ 
  517. =\ 1, and has completed the multilink state variable resetting operation 
  518. described above, the initiating MLP transfers a multilink frame with C\ 
  519. =\ 1 (reset confirmation) to the other MLP. When an MLP has: 
  520. .RT
  521. .LP
  522.     (1) 
  523.     received a multilink frame with R\ =\ 1,
  524. .LP
  525.     (2) 
  526.     transferred a multilink frame with R\ =\ 1 on one of its
  527. SLPs, and
  528. .LP
  529.     (3) 
  530.     completed the multilink state variable resetting operation
  531. above,
  532. .LP
  533. that MLP then transfers a multilink frame with C\ =\ 1 (reset confirmation) to
  534. the other MLP as soon as possible, given that indication of the successful 
  535. or unsuccessful transmission of the R\ =\ 1 multilink frame has been received 
  536. from that MLP's SLP. The C\ =\ 1 multilink frame is a reply to the multilink 
  537. frame 
  538. with R\ =\ 1. The value of the MN(S) field in the above C\ =\ 1 frame may 
  539. be any 
  540. value, since when C\ =\ 1 the MN(S) field is ignored by the receiving MLP. The
  541. multilink sequence number MN(S) received in each direction following multilink 
  542. reset will begin with the value zero. 
  543. .PP
  544. When an MLP uses only one SLP to transmit the multilink frame with R\ =\ 
  545. 1 and the multilink frame with C\ =\ 1, the MLP can transfer the multilink 
  546. frame with C\ =\ 1 immediately after the multilink frame with R\ =\ 1 without
  547. waiting for SLP indication of transmission completion. An MLP shall not
  548. retransmit a multilink frame with R\ =\ 1 or a multilink frame with C\ 
  549. =\ 1 unless Timer MT3 (see \(sc\ 2.5.5.3 below) runs out. An MLP may use 
  550. two different SLPs as long as one is used for transmitting the multilink 
  551. frame with R\ =\ 1 and the 
  552. other is used for transmitting the multilink frame with C\ =\ 1 following 
  553. receipt of the SLP indication of successful or unsuccessful transmission 
  554. of the R\ =\ 1 multilink frame. A multilink frame with R\ =\ C\ =\ 1 is 
  555. never used. 
  556. .PP
  557. When an MLP receives the multilink frame with C\ =\ 1, the MLP stops its 
  558. Timer\ MT3. The transmission of the multilink frame with C\ =\ 1 to a remote 
  559. SLP and the reception of a multilink frame with C\ =\ 1 from the remote 
  560. MLP completes the multilink resetting procedure for an MLP. The first multilink 
  561. frame 
  562. transferred with R\ =\ C\ =\ 0 shall have a multilink sequence number MN(S) 
  563. value of zero. After an MLP transfers a multilink frame with C\ =\ 1 to 
  564. an SLP, the MLP may receive one or more multilink frames with R\ =\ C\ 
  565. =\ 0. After an MLP receives a multilink frame with C\ =\ 1, the MLP may 
  566. transfer one or more multilink frames with R\ =\ C\ =\ 0 to its SLPs. 
  567. .bp
  568. .PP
  569. When an MLP additionally receives one or more multilink frames with
  570. R\ =\ 1 between receiving a multilink frame with R\ =\ 1 and transferring a
  571. multilink frame with C\ =\ 1, the MLP shall discard the extra multilink frames
  572. with R\ =\ 1. When an MLP receives a multilink frame with C\ =\ 1, which 
  573. is not a reply to a multilink frame with R\ =\ 1, the MLP shall discard 
  574. the multilink 
  575. frame with C\ =\ 1.
  576. .PP
  577. After an MLP transfers a multilink frame with C\ =\ 1 on one of its
  578. SLPs, the MLP may receive a multilink frame with R\ =\ 1 from the other 
  579. MLP. The MLP shall regard the multilink frame with R\ =\ 1 as a new reset 
  580. request and 
  581. shall start the multilink resetting procedure from the beginning. When 
  582. an MLP which has not received a multilink frame with R\ =\ 1, transfers 
  583. a multilink 
  584. frame with R\ =\ 1, and therefore receives a multilink frame with C\ =\ 
  585. 1, the MLP shall restart the resetting procedure from the beginning. 
  586. .PP
  587. When Timer MT3 runs out, the MLP restarts the multilink resetting
  588. procedure from the beginning. The value of Timer MT3 shall be large enough 
  589. to include the transmission, retransmission and propagation delays in the 
  590. SLPs, 
  591. and the operation time of the MLP that receives a multilink frame with R\ =\ 1
  592. and responds with a multilink frame with C\ =\ 1.
  593. .RT
  594. .sp 2P
  595. .LP
  596. 2.5.4.3
  597.     \fITransmitting\fR 
  598. \fImultilink frames\fR 
  599. .sp 1P
  600. .RT
  601. .sp 1P
  602. .LP
  603. 2.5.4.3.1
  604.     \fIGeneral\fR 
  605. .sp 9p
  606. .RT
  607. .PP
  608. The transmitting DCE or DTE MLP shall be responsible for
  609. controlling the flow of packets from the Packet Layer into multilink frames 
  610. and then to the SLPs for transmission to the receiving DTE or DCE\ MLP, 
  611. respectively.
  612. .PP
  613. The functions of the transmitting DCE or DTE MLP shall be
  614. to:
  615. .RT
  616. .LP
  617.     a)
  618.     accept packets from the Packet Layer;
  619. .LP
  620.     b)
  621.     allocate multilink control fields, containing the
  622. appropriate sequence number MN(S), to the packets;
  623. .LP
  624.     c)
  625.     assure that MN(S) is not assigned outside the MLP transmit   window (MW);
  626. .LP
  627.     d)
  628.     pass the resultant multilink frames to the SLPs for
  629. transmission;
  630. .LP
  631.     e)
  632.     accept indications of successful transmission
  633. acknowledgements from the SLPs;
  634. .LP
  635.     f)
  636.     monitor and recover from transmission failures or
  637. difficulties that occur at the SLP sublayer; and
  638. .LP
  639.     g)
  640.     accept flow control indications from the SLPs and take
  641. appropriate actions.
  642. .sp 1P
  643. .LP
  644. 2.5.4.3.2
  645.     \fITransmission of multilink frames\fR 
  646. .sp 9p
  647. .RT
  648. .PP
  649. When the transmitting DCE MLP accepts a packet from the Packet
  650. Layer, it shall place the packet in a multilink frame, set the MN(S) equal 
  651. to MV(S), assure that MN(S) is not assigned outside the transmit window 
  652. (MW), set V, S, R and C to\ 0, and then increment MV(S) by\ 1. 
  653. .PP
  654. In the following, incrementing send and receive state variables is in reference 
  655. to a continuously repeated sequence series, i.e.\ 4095 is 1 higher 
  656. than\ 4094, and 0 is 1 higher than\ 4095 for modulo 4096\ series.
  657. .PP
  658. If the MN(S) is less than MV(T)\ +\ MW, and the DTE has not indicated a 
  659. busy condition on all available DCE SLPs, the transmitting DCE MLP may 
  660. then 
  661. assign the new multilink frame to an available DCE SLP. The transmitting DCE
  662. MLP shall always assign the lowest MN(S) unassigned multilink frame first.
  663. Also, the transmitting DCE MLP may assign a multilink frame to more than one
  664. DCE SLP. When the DCE SLP successfully completes the transmission of (a)
  665. multilink frame(s) by receiving an acknowledgement from the DTE SLP, it 
  666. shall indicate this to the transmitting DCE MLP. The transmitting DCE MLP 
  667. may then 
  668. discard the acknowledged multilink frame(s). As the transmitting DCE receives 
  669. new indications of acknowledgements from the DCE SLPs, MV(T) shall be advanced 
  670. to denote the lowest numbered multilink frame not yet acknowledged. 
  671. .PP
  672. Whenever a DCE SLP indicates that it has attempted to transmit a
  673. multilink frame N2 times, the DCE MLP will then assign the multilink frame 
  674. to the same or one or more other DCE SLPs unless the MN(S) has been acknowledged 
  675. on some previous DCE SLP. The DCE MLP shall always assign the lowest MN(S) 
  676. multilink frame first.
  677. .bp
  678. .PP
  679. \fINote\fR \ \(em\ If a DCE MLP implementation is such that a multilink 
  680. frame is assigned to more than one DCE SLP (e.g.\ to increase the probability 
  681. of 
  682. successful delivery) there is a possibility that one of these multilink 
  683. frames (i.e.\ a duplicate) may be delivered to the remote DTE MLP after 
  684. an earlier one has been acknowledged [the earlier multilink frame would 
  685. have resulted in the receiving DTE MLP having incremented its MV(R) and 
  686. the transmitting DCE MLP 
  687. having incremented its MV(T)]. To ensure that an old duplicate multilink 
  688. frame is not mistaken for a new frame by the receiving DTE MLP, it is required 
  689. that the transmitting DCE MLP shall never assign to a DCE SLP a new multilink 
  690. frame with MN(S) equal to MN(S)`\ \(em\ MW\ \(em\ MX, where MN(S)` is associated 
  691. with a 
  692. duplicate multilink frame that was earlier assigned to other DCE SLPs,
  693. until all DCE SLPs have either successfully transmitted the multilink frame
  694. MN(S)` or have attempted the transmission the maximum number of times.
  695. Alternatively, the incrementing of MV(T) may be withheld until all DCE SLPs
  696. that were assigned the multilink frame MN(S)` have either successfully
  697. transferred the multilink frame MN(S)` or have attempted the transmission
  698. the maximum number of times. These and other alternatives are for further
  699. study.
  700. .PP
  701. Flow control is achieved by the window size parameter MW, and through busy 
  702. conditions being indicated by the DTE SLPs. 
  703. .PP
  704. The DCE MLP will not assign a multilink frame with an MN(S) greater
  705. than MV(T) + MW\ \(em\ 1. At the point where the next DCE multilink frame to be
  706. assigned has an MN(S) = MV(T) + MW, the DCE MLP shall hold this and
  707. subsequent multilink frames until an indication of an acknowledgement that
  708. advances MV(T) is received from the DCE SLPs.
  709. .PP
  710. The DTE MLP may exercise flow control of the DCE MLP by indicating a busy 
  711. condition over one or more DTE SLPs. The number of SLPs made busy will 
  712. determine the degree of DCE MLP flow control realized. When the DCE MLP
  713. receives an indication of a DTE SLP busy condition from one or more of 
  714. its DCE SLPs, the DCE MLP may reassign any unacknowledged multilink frames 
  715. that were 
  716. assigned to those DCE SLPs. The DCE MLP will assign the multilink frames
  717. containing the lowest MN(S) to an available DCE SLP as specified
  718. above.
  719. .PP
  720. \fINote\ 1\fR \ \(em\ The action to be taken on the receipt of an RNR frame by
  721. the DCE SLP whose unac
  722. knowledged\ multilink frames have been reassigned is
  723. for further study.
  724. .PP
  725. In the event of a circuit failure, a DCE SLP reset, or a DCE SLP or
  726. DTE SLP disconnection, all DCE MLP multilink frames that were unacknowledged 
  727. on the affected DCE SLPs shall be reassigned to an operational DCE SLP(s) 
  728. which 
  729. is(are) not in the busy condition.
  730. .PP
  731. \fINote\ 2\fR \ \(em\ The means of detecting transmitting DCE MLP malfunctions
  732. (e.g.\ sending more than MW multilink frames) and the actions to be taken are
  733. for further study.
  734. .RT
  735. .sp 1P
  736. .LP
  737. 2.5.4.4
  738.     \fIReceiving multilink frames\fR 
  739. .sp 9p
  740. .RT
  741. .PP
  742. Any multilink frame less than two octets in length shall be
  743. discarded by the receiving DCE MLP.
  744. .PP
  745. \fINote\fR \ \(em\ The procedures to be followed by the receiving DCE MLP 
  746. when V and/or S is equal to 1 are for further study. The procedures to 
  747. be followed by the receiving DCE MLP when R or C is equal to 1 are described 
  748. in \(sc\ 2.5.4.2 
  749. above.
  750. .PP
  751. When the DCE MLP receives multilink frames from one of the DCE SLPs, the 
  752. DCE MLP will compare the multilink sequence number MN(S) of the received 
  753. multilink frame to its multilink receive state variable MV(R), and act 
  754. on the multilink frame as follows: 
  755. .RT
  756. .LP
  757.     a)
  758.     If the received MN(S) is equal to the current value of
  759. MV(R), i.e.\ is the next expected in\(hysequence multilink frame,
  760. the DCE MLP delivers the packet to the Packet Layer.
  761. .LP
  762.     b)
  763.     If the MN(S) is greater than the current value of MV(R) but
  764. less than MV(R) + MW + MX, the DCE MLP keeps the received
  765. multilink frame until condition a) is met, or discards it if it
  766. is a duplicate.
  767. .LP
  768.     c)
  769.     If the MN(S) is other than in a) and b) above, the multilink
  770. frame is discarded.
  771. .PP
  772. \fINote\fR \ \(em\ In case c) above, the recovery from desynchronization
  773. greater than MX between the local and the remote MLP, i.e.,\ the value 
  774. of MN(S) reassigned to new multilink frames at the remote MLP is higher 
  775. than 
  776. MV(R)\ +\ MW\ +\ MX at the local MLP, is for further study.
  777. .bp
  778. .PP
  779. On receipt of each multilink frame, MV(R) is incremented by the
  780. DCE\ MLP in the following way:
  781. .RT
  782. .LP
  783.     i)
  784.     If MN(S) is equal to the current value of MV(R), the MV(R)
  785. is incremented by the number of consecutive in\(hysequence
  786. multilink frames that have been received. If additional
  787. multilink frames are awaiting delivery pending receipt of a
  788. multilink frame with MN(S) equal to the updated MV(R), then
  789. Timer MT1 (see \(sc\ 2.5.5.1 below) is restarted; otherwise Timer
  790. MT1 is stopped.
  791. .LP
  792.     ii)
  793.     If MN(S) is greater than the current value of MV(R) but
  794. less than MV(R) + MW, MV(R) remains unchanged. Timer\ MT1 is
  795. started, if not already running.
  796. .LP
  797.     iii)
  798.     If MN(S) is \(>=" MV(R) + MW but < MV(R) + MW + MX, MV(R) is
  799. incremented to MN(S) \(em MW + 1 and then the Packet Layer may
  800. be informed of the packet loss at the original value of MV(R).
  801. As MV(R) is being incremented, if any multilink frame with
  802. MN(S) =\ MV(R) has not yet been received, the Packet Layer may be
  803. informed of that packet loss also; if the multilink frame with
  804. MN(S)\ =\ MV(R) has been received, it is delivered to the Packet
  805. Layer. After MV(R) reaches MN(S) \(em MW\ +\ 1, it will then be
  806. incremented further (as in i) above) until the first
  807. unacknowledged MN(S) is encountered. See Figure\ 3/X.25.
  808. .LP
  809.     iv)
  810.     If the MN(S) is other than that in i), ii) and iii) above,
  811. MV(R) remains unchanged.
  812. .LP
  813. .rs
  814. .sp 23P
  815. .ad r
  816. \fBFigure 3/X.25, p.\fR 
  817. .sp 1P
  818. .RT
  819. .ad b
  820. .RT
  821. .PP
  822. If Timer MT1 runs out, MV(R) is incremented to the MN(S) of the
  823. next multilink frame awaiting delivery to the Packet Layer and then the 
  824. Packet Layer may be informed of the packet loss at the original MV(R). 
  825. The procedure follows\ a) and\ i) above as long as there are consecutive 
  826. in\(hysequence multilink frames which have been received. 
  827. .PP
  828. When flow control of the DTE MLP is desired, one or more DCE
  829. SLP(s) may be made to indicate a busy condition. The number of DCE SLPs made
  830. busy determines the degree of flow control realized.
  831. .bp
  832. .PP
  833. If the DCE MLP can exhaust its receive buffer capacity before
  834. resequencing can be completed, Timer MT2 (see \(sc\ 2.5.5.2 below) may be
  835. implemented. Whenever a busy condition is indicated by the DCE MLP on all 
  836. DCE SLPs, and multilink frames at the DCE MLP are awaiting resequencing, 
  837. Timer\ MT2 shall be started. When the busy condition is cleared on one 
  838. or more DCE SLPs by the DCE MLP, Timer MT2 shall be stopped. 
  839. .PP
  840. If Timer MT2 runs out, the multilink frame with MN(S) = MV(R) is
  841. blocked and shall be considered lost. MV(R) shall be incremented to the next
  842. sequence number not yet received, and the packets contained in multilink
  843. frames with intervening multilink sequence numbers are delivered to the 
  844. Packet Layer. Timer MT2 shall be restarted if the busy condition remains 
  845. in effect on all DCE SLPs and more multilink frames are awaiting resequencing. 
  846. .RT
  847. .sp 1P
  848. .LP
  849. 2.5.4.5
  850.     \fITaking an SLP out of service\fR 
  851. .sp 9p
  852. .RT
  853. .PP
  854. A DCE SLP may be taken out of service for maintenance, traffic, or performance 
  855. considerations. 
  856. .PP
  857. A DCE SLP is taken out of service by disconnecting at the Physical
  858. Layer or the Data Link Layer. Any outstanding DCE MLP multilink frames 
  859. will be reassigned to one or more other DCE SLPs, unless the MN(S) has 
  860. been previously acknowledged on some other DCE SLP. The usual procedure 
  861. for taking a DCE SLP 
  862. out of service at the Data Link Layer would be to flow control the DTE 
  863. SLP with an RNR frame, and then logically disconnect the DCE\ SLP 
  864. (see \(sc\ 2.4.4.3 above).
  865. .PP
  866. If the DCE SLP Timer T1 has run out N2 times and the DCE SLP data link 
  867. resetting procedure is unsuccessful, then the DCE SLP will enter the 
  868. disconnected phase, taking the DCE SLP out of service (see \(sc\(sc\ 2.4.5.8
  869. and\ 2.4.7.2 above).
  870. .PP
  871. \fINote\fR \ \(em\ In the case where all SLPs are out of service, the recovery 
  872. mechanism is based on initiating the multilink resetting procedures. Other 
  873. recovery procedures are for further study.
  874. .RT
  875. .sp 2P
  876. .LP
  877. 2.5.5
  878.     \fIList of \fR \fImultilink system parameters\fR 
  879. .sp 1P
  880. .RT
  881. .sp 1P
  882. .LP
  883. 2.5.5.1
  884.     \fILost\(hyframe Timer MT1 (multilink)\fR 
  885. .sp 9p
  886. .RT
  887. .PP
  888. Timer MT1 is used at a receiving DCE MLP to provide a means to
  889. identify during low traffic periods that the multilink frame with MN(S) 
  890. equal to MV(R) is lost. 
  891. .RT
  892. .sp 1P
  893. .LP
  894. 2.5.5.2
  895.     \fIGroup busy Timer MT2 (multilink)\fR 
  896. .sp 9p
  897. .RT
  898. .PP
  899. Timer MT2 is provided at a receiving DCE MLP to identify a
  900. \*Qblocked\*U multilink frame condition (e.g.\ a buffer exhaust situation) that
  901. occurs before required resequencing can be accomplished. Timer MT2 is started 
  902. when all DCE SLPs are busy and there are multilink frames awaiting 
  903. resequencing. If Timer MT2 runs out before the \*Qblocked\*U multilink 
  904. frame MV(R) is received, the \*Qblocked\*U multilink frame(s) is(are) declared 
  905. lost. MV(R) is incremented to the value of the next in\(hysequence multilink 
  906. frame to be 
  907. received, and any packets in intervening multilink frames are delivered 
  908. to the Packet Layer. 
  909. .PP
  910. \fINote\fR \ \(em\ Timer MT2 may be set to infinity; e.g.\ when the receiving
  911. DCE always has sufficient storage capacity.
  912. .RT
  913. .sp 1P
  914. .LP
  915. 2.5.5.3
  916.     \fIMLP reset confirmation Timer MT3 (multilink)\fR 
  917. .sp 9p
  918. .RT
  919. .PP
  920. Timer MT3 is used by the DCE MLP to provide a means of identifying that 
  921. the DTE MLP multilink frame with the C bit set to\ 1 that is expected 
  922. following the transmission of the DCE MLP multilink frame with R bit set 
  923. to\ 1, has not been received. 
  924. .RT
  925. .sp 2P
  926. .LP
  927. 2.6
  928.     \fILAP elements of procedure\fR 
  929. .sp 1P
  930. .RT
  931. .PP
  932. 2.6.1
  933. The LAP elements of procedure are defined in terms of actions that occur 
  934. on receipt of frames at the DCE or DTE. 
  935. .bp
  936. .sp 9p
  937. .RT
  938. .PP
  939. The elements of procedure specified below contain the selection of commands 
  940. and responses relevant to the LAP data link and system configurations described 
  941. in \(sc\ 2.1\ above. Together, \(sc\(sc\ 2.2 and\ 2.6 form the general 
  942. requirements for the proper management of a LAP access data link.
  943. .sp 2P
  944. .LP
  945. 2.6.2
  946.     \fILAP control field formats and parameters\fR 
  947. .sp 1P
  948. .RT
  949. .sp 1P
  950. .LP
  951. 2.6.2.1
  952.     \fIControl field formats\fR 
  953. .sp 9p
  954. .RT
  955. .PP
  956. The control field contains a command or a response, and sequence
  957. numbers where applicable.
  958. .PP
  959. Three types of control field formats (see Table\ 11/X.25) are used to perform 
  960. numbered information transfer (I\ format), numbered supervisory 
  961. functions (S\ format) and unnumbered control functions (U\ format).
  962. .RT
  963. .LP
  964. .sp 1
  965. .ce
  966. \fBH.T. [T9.25]\fR 
  967. .ce
  968. TABLE\ 11/X.25
  969. .ce
  970. \fBLAP control field formats (modulo 8)\fR 
  971. .ps 9
  972. .vs 11
  973. .nr VS 11
  974. .nr PS 9
  975. .TS
  976. center box;
  977. cw(36p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) .
  978. Control field bits    1    2    3    4    5    6    7    8
  979. _
  980. .T&
  981. lw(36p) | cw(24p) | cw(72p) | cw(24p) | cw(72p) .
  982. I format    0    N(S)    P    N(R)
  983. _
  984. .T&
  985. lw(36p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(72p) .
  986. S format    1    0    S    S    P/F    N(R)
  987. _
  988. .T&
  989. lw(36p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) | cw(24p) .
  990. U format    1    1    M    M    P/F    M    M    T{
  991. M
  992. N(S)
  993. Transmitter send sequence number (bit 2\|=\|low\(hyorder bit)
  994. .parag
  995. N(R)
  996. Transmitter receive sequence number (bit 6\|=\|low\(hyorder bit)
  997. .parag
  998. S
  999. Supervisory function bit
  1000. .parag
  1001. M
  1002. Modifier function bit
  1003. .parag
  1004. P/F
  1005. Poll bit when issued as a command, final bit when issued as a
  1006. response. (1\|=\|Poll/Final)
  1007. .parag
  1008. P
  1009. Poll bit (1\|=\|Poll)
  1010. .parag
  1011. T}
  1012. _
  1013. .TE
  1014. .nr PS 9
  1015. .RT
  1016. .ad r
  1017. \fBTable 11/X.25 [T9.25], p.\fR 
  1018. .sp 1P
  1019. .RT
  1020. .ad b
  1021. .RT
  1022. .LP
  1023. .sp 1
  1024. .sp 1P
  1025. .LP
  1026. 2.6.2.1.1
  1027.     \fIInformation transfer format\ \(em\ I\fR 
  1028. .sp 9p
  1029. .RT
  1030. .PP
  1031. The I format is used to perform an information transfer. The
  1032. functions of N(S), N(R) and P are independent, i.e.\ each I\ frame has 
  1033. an N(S), an N(R) which may or may not acknowledge additional I\ frames 
  1034. received by the 
  1035. DCE or DTE, and a P\ bit that may be set to\ 0 or\ 1.
  1036. .RT
  1037. .sp 1P
  1038. .LP
  1039. 2.6.2.1.2
  1040.     \fISupervisory format\ \(em\ S\fR 
  1041. .sp 9p
  1042. .RT
  1043. .PP
  1044. The S format is used to perform data link supervisory control
  1045. functions such as acknowledge I frames, request retransmission of I frames, 
  1046. and to request a temporary suspension of transmission of I\ frames. The 
  1047. functions 
  1048. of N(R) and P/F are independent, i.e.\ each supervisory frame has an N(R) 
  1049. which may or may not acknowledge additional I\ frames received by the DCE 
  1050. or DTE, and a P/F bit that may be set to 0 or\ 1. 
  1051. .bp
  1052. .RT
  1053. .sp 1P
  1054. .LP
  1055. 2.6.2.1.3
  1056.     \fIUnnumbered format\ \(em\ U\fR 
  1057. .sp 9p
  1058. .RT
  1059. .PP
  1060. The U format is used to provide additional data link control
  1061. functions. This format contains no sequence numbers, but does include a 
  1062. P/F bit that may be set to\ 0 or\ 1. 
  1063. .RT
  1064. .sp 1P
  1065. .LP
  1066. 2.6.2.2
  1067.     \fIControl field parameters\fR 
  1068. .sp 9p
  1069. .RT
  1070. .PP
  1071. The various parameters associated with the control field formats
  1072. are described below.
  1073. .RT
  1074. .sp 1P
  1075. .LP
  1076. 2.6.2.2.1
  1077.     \fIModulus\fR 
  1078. .sp 9p
  1079. .RT
  1080. .PP
  1081. Each I frame is sequentially numbered and may have the value\ 0
  1082. through modulus minus 1 (where \*Qmodulus\*U is the modulus of the sequence
  1083. numbers). The modulus equals\ 8 and the sequence numbers cycle through the
  1084. entire range.
  1085. .RT
  1086. .sp 1P
  1087. .LP
  1088. 2.6.2.2.2
  1089.     \fISend state variable V(S)\fR 
  1090. .sp 9p
  1091. .RT
  1092. .PP
  1093. The send state variable V(S) denotes the sequence number of the
  1094. next in\(hysequence I\ frame to be transmitted. V(S) can take on the value\ 0
  1095. through modulus minus\ 1. The value of V(S) is incremented by\ 1 with each
  1096. successive I\ frame transmission, but cannot exceed N(R) of the last received\ 
  1097. I or supervisory frame by more than the maximum number of outstanding I\ 
  1098. frames 
  1099. (k).  The value of k is defined in \(sc\ 2.7.7.6 below.
  1100. .RT
  1101. .sp 1P
  1102. .LP
  1103. 2.6.2.2.3
  1104.     \fISend sequence number N(S)\fR 
  1105. .sp 9p
  1106. .RT
  1107. .PP
  1108. Only I frames contain N(S), the send sequence number of transmitted I\ 
  1109. frames. At the time that an in\(hysequence I\ frame is designated for 
  1110. transmission, the value of N(S) is set equal to the value of the send state
  1111. variable\ V(S).
  1112. .RT
  1113. .sp 1P
  1114. .LP
  1115. 2.6.2.2.4
  1116.     \fIReceive state variable V(R)\fR 
  1117. .sp 9p
  1118. .RT
  1119. .PP
  1120. The receive state variable V(R) denotes the sequence number of the next 
  1121. in\(hysequence I\ frame expected to be received. V(R) can take on the values\ 
  1122. 0 through modulus minus\ 1. The value of V(R) is incremented by\ 1 with 
  1123. the receipt of an error free, in\(hysequence I\ frame whose send sequence 
  1124. number N(S) equals 
  1125. the receive state variable V(R).
  1126. .RT
  1127. .sp 1P
  1128. .LP
  1129. 2.6.2.2.5
  1130.     \fIReceive sequence number N(R)\fR 
  1131. .sp 9p
  1132. .RT
  1133. .PP
  1134. All I frames and supervisory frames contain N(R), the expected send sequence 
  1135. number of the next received I\ frame. At the time that a frame of the above 
  1136. types is designed for transmission, the value of N(R) is set equal to the 
  1137. current value of the receive state variable V(R). N(R) indicates that the 
  1138. DCE or DTE transmitting the N(R) has received correctly all I\ frames numbered 
  1139. up to and including N(R)\ \(em\ 1. 
  1140. .RT
  1141. .sp 1P
  1142. .LP
  1143. 2.6.2.2.6
  1144.     \fIPoll/Final bit P/F\fR 
  1145. .sp 9p
  1146. .RT
  1147. .PP
  1148. All frames contain P/F, the Poll/Final bit. In command frames the P/F bit 
  1149. is referred to as the P\ bit. In response frames it is referred to as 
  1150. the F\ bit.
  1151. .RT
  1152. .sp 1P
  1153. .LP
  1154. 2.6.3
  1155.     \fIFunctions of the \fR \fIPoll/Final bit\fR 
  1156. .sp 9p
  1157. .RT
  1158. .PP
  1159. The Poll bit set to 1 is used by the DCE or DTE to solicit (poll) a response 
  1160. from the DTE or DCE, respectively. The Final bit set to\ 1 is used by the 
  1161. DCE or DTE to indicate the response frame transmitted by the DTE or DCE, 
  1162. respectively, as a result of the soliciting (poll) command.
  1163. .PP
  1164. The use of the P/F bit is described in \(sc\ 2.7.2 below.
  1165. .RT
  1166. .sp 1P
  1167. .LP
  1168. 2.6.4
  1169.     \fICommands and responses\fR 
  1170. .sp 9p
  1171. .RT
  1172. .PP
  1173. The commands and responses represented in Table\ 12/X.25 will be
  1174. supported by the DCE and the DTE.
  1175. .RT
  1176. .PP
  1177. For purposes of the LAP procedures, the supervisory function bit encoding 
  1178. \*Q11\*U and those encodings of the modifier function bits in 
  1179. Table\ 11/X.25 not identified in Table\ 12/X.25 are identified as \*Qundefined 
  1180. or not implemented\*U command and response control fields. 
  1181. .bp
  1182. .RT
  1183. .ce
  1184. \fBH.T. [T10.25]\fR 
  1185. .ce
  1186. TABLE\ 12/X.25
  1187. .ce
  1188. \fBLAP commands and responses\fR 
  1189. .ps 9
  1190. .vs 11
  1191. .nr VS 11
  1192. .nr PS 9
  1193. .TS
  1194. center box;
  1195. lw(126p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(18p) | cw(12p) | cw(12p) | cw(12p) .
  1196.     1    2    3    4    5    6    7    8
  1197. .T&
  1198. cw(36p) | cw(48p) | cw(42p) | cw(102p) .
  1199. Format    Command    Response    Encoding
  1200. _
  1201. .T&
  1202. lw(36p) | lw(18p) | lw(30p) | lw(42p) | cw(12p) | cw(36p) | cw(18p) | cw(36p) .
  1203. Information transfer    I    (information)        0    N(S)    P    N(R)
  1204. _
  1205. .T&
  1206. lw(36p) | lw(18p) | lw(30p) | lw(18p) | lw(24p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(18p) | cw(36p) .
  1207. Supervisory    RR    (receive ready)    RR    (receive ready)    1    0    0    0    P/F    N(R)
  1208. .T&
  1209. lw(36p) | lw(18p) | lw(30p) | lw(18p) | lw(24p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(18p) | cw(36p) .
  1210.     RNR    (receive not ready)    RNR    (receive not ready)    1    0    1    0    P/F    N(R)
  1211. .T&
  1212. lw(36p) | lw(18p) | lw(30p) | lw(18p) | lw(24p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(18p) | cw(36p) .
  1213.     REJ    (reject)    REJ    (reject)    1    0    0    1    P/F    N(R)
  1214. _
  1215. .T&
  1216. lw(36p) | lw(18p) | lw(30p) | lw(42p) | lw(12p) | lw(12p) | lw(12p) | lw(12p) | lw(18p) | lw(12p) | lw(12p) | lw(12p) .
  1217. 1 1 1 1 P 0 0 0                                            
  1218. .T&
  1219. lw(36p) | lw(18p) | lw(30p) | lw(42p) | lw(12p) | lw(12p) | lw(12p) | lw(12p) | lw(18p) | lw(12p) | lw(12p) | lw(12p) .
  1220. DISC (disconnect)    1 1 0 0 P 0 1 0                                        
  1221. _
  1222. .T&
  1223. lw(84p) | lw(18p) | lw(24p) | lw(12p) | lw(12p) | lw(12p) | lw(12p) | lw(18p) | lw(12p) | lw(12p) | lw(12p) .
  1224. T{
  1225. CMDR
  1226. (command reject)
  1227. 1
  1228. 1
  1229. 1
  1230. 0
  1231. F
  1232. 0
  1233. 0
  1234. 1
  1235. T}                                        
  1236. _
  1237. .T&
  1238. lw(84p) | lw(18p) | lw(24p) | lw(12p) | lw(12p) | lw(12p) | lw(12p) | lw(18p) | lw(12p) | lw(12p) | lw(12p) .
  1239. T{
  1240. UA
  1241. (unnumbered acknowledge
  1242. ment)
  1243. 1
  1244. 1
  1245. 0
  1246. 0
  1247. F
  1248. 1
  1249. 1
  1250. 0
  1251. \fINote\fR
  1252. \ \(em\ RR, RNR and REJ supervisory commands are transmitted by the DCE.
  1253. .parag
  1254. T}                                        
  1255. _
  1256. .TE
  1257. .nr PS 9
  1258. .RT
  1259. .ad r
  1260. \fBTable 12/X.25 [T10.25], p.\fR 
  1261. .sp 1P
  1262. .RT
  1263. .ad b
  1264. .RT
  1265. .PP
  1266. The commands and responses in Table\ 12/X.25 are defined as
  1267. follows:
  1268. .RT
  1269. .sp 1P
  1270. .LP
  1271. 2.6.4.1
  1272.     \fIInformation (I)  command\fR 
  1273. .sp 9p
  1274. .RT
  1275. .PP
  1276. The function of the information (I) command is to transfer across a data 
  1277. link a sequentially numbered frame containing an information 
  1278. field.
  1279. .RT
  1280. .sp 1P
  1281. .LP
  1282. 2.6.4.2
  1283.     \fIReceive ready (RR) command and response\fR 
  1284. .sp 9p
  1285. .RT
  1286. .PP
  1287. The receive ready (RR) supervisory frame is used by the DCE or DTE  to:
  1288. .RT
  1289. .LP
  1290.     1)
  1291.     indicate it is ready to receive an I frame; and
  1292. .LP
  1293.     2)
  1294.     acknowledge previously received I frames numbered up to and
  1295. including N(R)\ \(em\ 1.
  1296. .PP
  1297. An RR frame may be used to indicate the clearance of a busy
  1298. condition that was reported by the earlier transmission of an RNR frame 
  1299. by that same station (DCE or DTE). The RR command with the P bit set to\ 
  1300. 1 may be used by the DTE to ask for the status of the DCE. 
  1301. .sp 1P
  1302. .LP
  1303. 2.6.4.3
  1304.     \fIReject (REJ) command and response\fR 
  1305. .sp 9p
  1306. .RT
  1307. .PP
  1308. The reject (REJ) supervisory frame is used by the DCE or DTE to
  1309. request transmission of I\ frames starting with the frame numbered N(R).
  1310. I\ frames numbered N(R)\ \(em\ 1 and below are acknowledged. Additional 
  1311. I\ frames 
  1312. pending initial transmission may be transmitted following the retransmitted
  1313. I\ frame(s).
  1314. .bp
  1315. .PP
  1316. For a given direction of information transfer, only one REJ exception condition 
  1317. may be established at any time. The REJ exception condition is 
  1318. cleared (reset) upon the receipt of an I\ frame with an N(S) equal to the 
  1319. N(R) of the REJ\ frame. 
  1320. .PP
  1321. An REJ frame may be used to indicate the clearance of a busy condition 
  1322. that was reported by the earlier transmission of an RNR frame by that same 
  1323. station (DCE or DTE). The REJ command with the P\ bit set to\ 1 may be used by
  1324. the DTE to ask for the status of the DCE.
  1325. .RT
  1326. .sp 1P
  1327. .LP
  1328. 2.6.4.4
  1329.     \fIReceive not ready (RNR) command and response\fR 
  1330. .sp 9p
  1331. .RT
  1332. .PP
  1333. The receive not ready (RNR) supervisory frame is used by the DCE or DTE 
  1334. to indicate a busy condition, i.e.\ temporary inability to accept 
  1335. additional incoming I\ frames. I\ frames numbered up to and including N(R)\ 
  1336. \(em\ 1 
  1337. are acknowledged. I\ frame N(R) and any subsequent I\ frames received, if any,
  1338. are not acknowledged; the acceptance status of these I\ frames will be 
  1339. indicated in subsequent exchanges. 
  1340. .PP
  1341. The RNR command with the P bit set to 1 may be used by the DTE to ask for 
  1342. the status of the DCE. 
  1343. .RT
  1344. .sp 1P
  1345. .LP
  1346. 2.6.4.5
  1347.     \fISet asynchronous response mode (SARM) command\fR 
  1348. .sp 9p
  1349. .RT
  1350. .PP
  1351. The SARM unnumbered command is used to place the addressed DCE or DTE in 
  1352. the asynchronous response mode (ARM) information transfer phase, where 
  1353. all command/response control fields will be one octet in length. 
  1354. .PP
  1355. No information field is permitted with the SARM command. A DCE or DTE confirms 
  1356. acceptance of an SARM command by the transmission at the first 
  1357. opportunity of a UA response. Upon acceptance of this command, the DCE 
  1358. or DTE receive state variable V(R) is set to\ 0. 
  1359. .PP
  1360. Previously transmitted I frames that are unacknowledged when this
  1361. command is actioned remain unacknowledged. It is the responsibility of 
  1362. a higher layer (e.g.\ Packet Layer) to recover from the possible loss of 
  1363. the contents 
  1364. (packets) of such I\ frames.
  1365. .RT
  1366. .sp 1P
  1367. .LP
  1368. 2.6.4.6
  1369.     \fIDisconnect (DISC) command\fR 
  1370. .sp 9p
  1371. .RT
  1372. .PP
  1373. The DISC unnumbered command is used to terminate the mode
  1374. previously set. It is used to inform the DCE or DTE receiving the DISC 
  1375. that the DTE or DCE sending the DISC command is suspending operation. No 
  1376. information 
  1377. field is permitted with the DISC command. Prior to actioning the DISC command, 
  1378. the DCE or DTE receiving the DISC command confirms the acceptance of the 
  1379. DISC command by the transmission of a UA response. The DTE or DCE sending 
  1380. the DISC command enters the disconnected phase when it receives the acknowledging 
  1381. UA 
  1382. response.
  1383. .PP
  1384. Previously transmitted I frames that are unacknowledged when this
  1385. command is actioned remain unacknowledged. It is the responsibility of 
  1386. a higher layer (e.g.\ Packet Layer) to recover from the possible loss of 
  1387. the contents 
  1388. (packets) of such I\ frames.
  1389. .RT
  1390. .sp 1P
  1391. .LP
  1392. 2.6.4.7
  1393.     \fIUnnumbered acknowledgement (UA) response\fR 
  1394. .sp 9p
  1395. .RT
  1396. .PP
  1397. The UA unnumbered response is used by the DCE or DTE to acknowledge the 
  1398. receipt and acceptance of the mode\(hysetting commands. Received mode\(hysetting 
  1399. commands are not actioned until the UA response is transmitted. The UA 
  1400. response is transmitted as directed by the received U\ format command. 
  1401. No information 
  1402. field is permitted with the UA response.
  1403. .RT
  1404. .sp 1P
  1405. .LP
  1406. 2.6.4.8
  1407.     \fICommand reject (CMDR) response\fR 
  1408. .sp 9p
  1409. .RT
  1410. .PP
  1411. The CMDR unnumbered response is used by the DCE or DTE to report an error 
  1412. condition not recoverable by retransmission of the identical frame, 
  1413. i.e.\ at least one of the following conditions, which results from the 
  1414. receipt of a valid command frame: 
  1415. .RT
  1416. .LP
  1417.     1)
  1418.     the receipt of a command control field that is undefined or
  1419. not implemented;
  1420. .LP
  1421.     2)
  1422.     the receipt of an I frame with an information field which
  1423. exceeds the maximum established length;
  1424. .LP
  1425.     3)
  1426.     the receipt of an invalid N(R) (see \(sc\ 2.7.5.1), or
  1427. .LP
  1428.     4)
  1429.     the receipt of a frame with an information field which is
  1430. not permitted or the receipt of a supervisory or unnumbered
  1431. frame with incorrect length.
  1432. .bp
  1433. .PP
  1434. An undefined or not implemented control field is any of the
  1435. control field encodings that are not identified in Table\ 12/X.25.
  1436. .PP
  1437. An invalid N(R) is defined as one which points to an I frame which has 
  1438. previously been transmitted and acknowledged or to an I\ frame which has 
  1439. not 
  1440. been transmitted and is not the next sequential I\ frame awaiting transmission.
  1441. .PP
  1442. An information field which immediately follows the control field, and consists 
  1443. of 3\ octets, is returned with this response and provides the reason 
  1444. for the CMDR response. This format is given in Table\ 13/X.25.
  1445. .RT
  1446. .LP
  1447. .sp 1
  1448. .ce
  1449. \fBH.T. [T11.25]\fR 
  1450. .ce
  1451. TABLEAU\ 13/X.25
  1452. .ce
  1453. \fBLAP CMDR information field format\fR 
  1454. .ce
  1455. Information field bits
  1456. .ps 9
  1457. .vs 11
  1458. .nr VS 11
  1459. .nr PS 9
  1460. .TS
  1461. center box;
  1462. cw(42p) | cw(12p) | cw(30p) | cw(18p) | cw(30p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) .
  1463. T{
  1464. 1\ \|2\ \|3\ \|4\ \|5\ \|6\ \|7\ \|8 \fR
  1465. T}    9    10\ \|11\ \|12    13    14\ 15\ 16    17    18    19    20    21    22    23    24
  1466. _
  1467. .T&
  1468. lw(42p) | cw(12p) | cw(30p) | cw(18p) | cw(30p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) | cw(12p) .
  1469. T{
  1470. Rejected command control field
  1471. T}    0    V(S)    0    V(R)    W    X    Y    Z    0    0    0    T{
  1472. 0
  1473. \(em
  1474. Rejected command control field is the control field of the received
  1475. command which caused the command reject.
  1476. .parag
  1477. \(em
  1478. V(S) is the current send state variable value at the DCE or DTE reporting the rejection condition (bit 10\|=\|low\(hyorder bit).
  1479. .parag
  1480. \(em
  1481. V(R) is the current receive state variable value at the DCE or DTE
  1482. reporting the rejection condition (bit 14\|=\|low\(hyorder bit).
  1483. .parag
  1484. \(em
  1485. W set to 1 indicates that the control field received and returned in bits 1 through 8 was undefined or not implemented.
  1486. .parag
  1487. \(em
  1488. X set to 1 indicates that the control field received and returned in bits 1 through 8 was considered invalid because the frame contained an information field which is not permitted with this frame or is a supervisory or unnumbered frame with an incorrect length. Bit W must be set to 1 conjunction with this
  1489. bit.
  1490. .parag
  1491. \(em
  1492. Y set to 1 indicates that the information field received exceeded the
  1493. maximum established capacity of the DCE or DTE reporting the rejection
  1494. condition.
  1495. .parag
  1496. \(em
  1497. Z set to 1 indicates the control field received and returned in bits 1
  1498. through 8 contained an invalid N(R).
  1499. .parag
  1500. \fINote\fR
  1501. \ \(em\ Bits 9, 13 and 21 to 24 shall be set to 0.
  1502. .parag
  1503. T}
  1504. _
  1505. .TE
  1506. .nr PS 9
  1507. .RT
  1508. .ad r
  1509. \fBTable 13/X.25 [T11.25], p. 
  1510. .sp 1P
  1511. .RT
  1512. .ad b
  1513. .RT
  1514. .LP
  1515. .sp 1
  1516. .sp 1P
  1517. .LP
  1518. 2.6.5
  1519.     \fIException condition reporting and recovery\fR 
  1520. .sp 9p
  1521. .RT
  1522. .PP
  1523. The error recovery procedures which are available to effect
  1524. recovery following the detection/occurrence of an exception condition at the
  1525. Data Link Layer are described below. Exception conditions described are 
  1526. those situations which may occur as the result of transmission errors, 
  1527. DCE or DTE 
  1528. malfunction, or operational situations.
  1529. .RT
  1530. .sp 1P
  1531. .LP
  1532. 2.6.5.1
  1533.     \fIBusy condition\fR 
  1534. .sp 9p
  1535. .RT
  1536. .PP
  1537. The busy condition results when the DCE or DTE is temporarily
  1538. unable to continue to receive I\ frames due to internal constraints,
  1539. e.g.\ receive buffering limitations. In this case an RNR frame is transmitted
  1540. from the busy DCE or DTE. I\ frames pending transmission may be transmitted 
  1541. from the busy DCE or DTE prior to or following the RNR frame. 
  1542. .PP
  1543. An indication that the busy condition has cleared is communicated by the 
  1544. transmission of a UA (only in response to a SARM command), RR, REJ or SARM 
  1545. frame. 
  1546. .bp
  1547. .RT
  1548. .LP
  1549. .sp 1P
  1550. .LP
  1551. 2.6.5.2
  1552.     \fIN(S) sequence error condition\fR 
  1553. .sp 9p
  1554. .RT
  1555. .PP
  1556. The information field of all I frames received whose N(S) does not equal 
  1557. the receive state variable V(R) will be discarded. 
  1558. .PP
  1559. An N(S) sequence error exception condition occurs in the receiver when 
  1560. an I\ frame received contains an N(S) which is not equal to the receive 
  1561. state 
  1562. variable V(R) at the receiver. The receiver does not acknowledge (increment 
  1563. its receive state variable) the I\ frame causing the sequence error, or 
  1564. any I\ frames which may follow, until an I\ frame with the correct N(S) 
  1565. is received. 
  1566. .PP
  1567. A DCE or DTE which receives one or more valid I frames having sequence 
  1568. errors but otherwise errorless shall accept the control information contained 
  1569. in the N(R) field and the P\ bit to perform data link control functions, 
  1570. e.g.\ to receive acknowledgement of previously transmitted I\ frames and 
  1571. to cause the DCE or DTE to respond (P\ bit set to\ 1). Therefore, the retransmitted 
  1572. frame may 
  1573. contain an N(R) and a P\ bit that are updated from, and therefore different
  1574. from, those contained in the originally transmitted I\ frame.
  1575. .PP
  1576. The methods specified in \(sc\(sc\ 2.6.5.2.1 and\ 2.6.5.2.2 shall be available 
  1577. for initiating the retransmission of lost of errored I\ frames following 
  1578. the 
  1579. occurrence of an N(S) sequence error condition.
  1580. .RT
  1581. .sp 1P
  1582. .LP
  1583. 2.6.5.2.1
  1584.     \fIREJ recovery\fR 
  1585. .sp 9p
  1586. .RT
  1587. .PP
  1588. The REJ frame is used by a receiving DCE or DTE to initiate a
  1589. recovery (retransmission) following the detection of an N(S) sequence error.
  1590. .PP
  1591. With respect to each direction of transmission on the data link, only one 
  1592. \*Qsent REJ\*U exception condition from a DCE or DTE, to a DTE or DCE, 
  1593. is 
  1594. established at a time. A \*Qsent REJ\*U exception condition is cleared when the
  1595. requested I\ frame is received.
  1596. .PP
  1597. A DCE or DTE receiving an REJ frame initiates sequential
  1598. (re)transmission of I\ frames starting with the I frame indicated by the N(R)
  1599. obtained in the REJ frame.
  1600. .RT
  1601. .sp 1P
  1602. .LP
  1603. 2.6.5.2.2
  1604.     \fITime\(hyout recovery\fR 
  1605. .sp 9p
  1606. .RT
  1607. .PP
  1608. If a DCE or DTE, due to a transmission error, does not receive (or receives 
  1609. and discards) a single I\ frame or the last I\ frame(s) in a sequence of 
  1610. I\ frames, it will not detect an N(S) sequence error condition and, therefore, 
  1611. will not transmit an REJ frame. The DTE or DCE, which transmitted the 
  1612. unacknowledged I\ frame(s) shall, following the completion of a system 
  1613. specified time\(hyout period (see \(sc\(sc\ 2.7.4.8 and 2.7.7.1 below), 
  1614. take appropriate recovery action to determine at which I\ frame retransmission 
  1615. must begin. 
  1616. .RT
  1617. .sp 1P
  1618. .LP
  1619. 2.6.5.3
  1620.     \fIInvalid frame\fR \fIcondition\fR 
  1621. .sp 9p
  1622. .RT
  1623. .PP
  1624. Any frame which is invalid will be discarded, and no action will be taken 
  1625. as the result of that frame. An invalid frame is defined as one 
  1626. which:
  1627. .RT
  1628. .LP
  1629.     a)
  1630.     is not properly bounded by two flags;
  1631. .LP
  1632.     b)
  1633.     contains fewer than 32 bits between flags;
  1634. .LP
  1635.     c)
  1636.     contains a Frame Check Sequence (FCS) error; or
  1637. .LP
  1638.     d)
  1639.     contains an address other than A or B.
  1640. .PP
  1641. For those networks that are octet\(hyaligned, a detection of
  1642. non\(hyoctet alignment may be made at the Data Link Layer by adding a frame
  1643. validity check that requires the number of bits between the opening flag and
  1644. the closing flag, excluding bits inserted for transparency, to be an integral 
  1645. number of octets in length. Otherwise the frame is considered invalid. 
  1646. .sp 1P
  1647. .LP
  1648. 2.6.5.4
  1649.     \fICommand rejection\fR \fIcondition\fR 
  1650. .sp 9p
  1651. .RT
  1652. .PP
  1653. A command rejection condition is established upon the receipt of an error\(hyfree 
  1654. command frame with one of the conditions listed in \(sc\ 2.6.4.8 
  1655. above.
  1656. .PP
  1657. At the DCE or DTE, this command rejection exception condition is
  1658. reported by a CMDR response for appropriate DTE or DCE action, respectively.
  1659. Once a DCE has established such an exception condition, no additional I\ 
  1660. frames are accepted until the condition is reset by the DTE, except for 
  1661. examination 
  1662. of the P bit. The CMDR response may be repeated at each opportunity, as
  1663. specified in \(sc\ 2.7.6.5, until recovery is effected by the DTE, or until 
  1664. the DCE initiates its own recovery. 
  1665. .bp
  1666. .RT
  1667. .sp 1P
  1668. .LP
  1669. 2.6.5.5
  1670.     \fIExcessive idle channel state condition on the incoming channel\fR 
  1671. .sp 9p
  1672. .RT
  1673. .PP
  1674. Upon detection of an idle channel state condition (see \(sc\ 2.2.12.2 above) 
  1675. on the incoming channel, the DCE shall not take any action for a period 
  1676. T3 (see \(sc\ 2.7.7.3\ below), while waiting for detection of a return 
  1677. to the active channel state (i.e.\ detection of at least one flag sequence). 
  1678. After the period T3, the DCE shall notify the Packet Layer of the excessive 
  1679. idle channel state condition, but shall not take any action that would 
  1680. preclude the DTE from 
  1681. establishing the data link by normal data link set\(hyup procedures.
  1682. .PP
  1683. \fINote\fR \ \(em\ Other actions to be taken by the DCE at the Data Link 
  1684. Layer upon expiration of period T3 is a subject for further study. 
  1685. .RT
  1686. .sp 2P
  1687. .LP
  1688. 2.7
  1689.     \fIDescription of the LAP procedure\fR 
  1690. .sp 1P
  1691. .RT
  1692. .sp 1P
  1693. .LP
  1694. 2.7.1
  1695.     \fILAP procedure for addressing\fR 
  1696. .sp 9p
  1697. .RT
  1698. .PP
  1699. The address field identifies a frame as either a command or a
  1700. response. A command frame contains the address of the DCE or DTE to which 
  1701. the command is being sent. A response frame contains the address of the 
  1702. DCE or DTE sending the frame. 
  1703. .PP
  1704. Frames containing commands transferred from the DCE to the DTE
  1705. will contain the address\ A.
  1706. .PP
  1707. Frames containing responses transferred from the DCE to the DTE will contain 
  1708. the address\ B. 
  1709. .PP
  1710. Frames containing commands transferred from the DTE to the DCE shall contain 
  1711. the address\ B. 
  1712. .PP
  1713. Frames containing responses transferred from the DTE to the DCE shall contain 
  1714. the address\ A. 
  1715. .PP
  1716. A and B addresses are coded as follows:
  1717. .RT
  1718. .LP
  1719.     Address
  1720.     1\ 2\ 3\ 4\ 5\ 6\ 7\ 8
  1721. .LP
  1722.     \ \ A
  1723.     1\ 1\ 0\ 0\ 0\ 0\ 0\ 0
  1724. .LP
  1725.     \ \ B
  1726.     1\ 0\ 0\ 0\ 0\ 0\ 0\ 0
  1727. .PP
  1728. \fINote\fR \ \(em\ The DCE will discard all frames received with an address 
  1729. other than A or B; the DTE should do the same. 
  1730. .sp 1P
  1731. .LP
  1732. 2.7.2
  1733.     \fILAP procedure for the use of the P/F bit\fR 
  1734. .sp 9p
  1735. .RT
  1736. .PP
  1737. The DCE or DTE receiving an SARM, DISC, supervisory command or
  1738. I\ frame with the P\ bit set to\ 1 will set the F\ bit to\ 1 in the next 
  1739. response 
  1740. frame it transmits.
  1741. .PP
  1742. The response frame returned by the DCE to an SARM or DISC command with 
  1743. the P\ bit set to\ 1 will be a UA response with the F\ bit set to\ 1. The 
  1744. response frame returned by the DCE to an I\ frame with the P\ bit set to\ 
  1745. 1, received 
  1746. during the information transfer phase, will be an RR, REJ, RNR or CMDR 
  1747. response with the F\ bit set to\ 1. The response frame returned by the 
  1748. DCE to a 
  1749. supervisory command frame with the P\ bit set to\ 1, received during the
  1750. information transfer phase, will be an RR, RNR, REJ or CMDR response with 
  1751. the F\ bit set to\ 1. 
  1752. .PP
  1753. The P bit may be used by the DCE in conjunction with the timer
  1754. recovery condition (see \(sc\ 2.7.4.8 below).
  1755. .PP
  1756. \fINote\fR \ \(em\ Other use of the P bit by the DCE is a subject for further
  1757. study.
  1758. .RT
  1759. .sp 2P
  1760. .LP
  1761. 2.7.3
  1762.     \fILAP procedures for data link set\(hyup and disconnection\fR 
  1763. .sp 1P
  1764. .RT
  1765. .sp 1P
  1766. .LP
  1767. 2.7.3.1
  1768.     \fIData link set\(hyup\fR 
  1769. .sp 9p
  1770. .RT
  1771. .PP
  1772. The DCE will indicate that it is able to set up the data link by
  1773. transmitting contiguous flags (active channel state).
  1774. .PP
  1775. The DTE shall indicate a request for setting up the data link by
  1776. transmitting an SARM command to the DCE. Whenever receiving an SARM command,
  1777. the DCE will return a UA response to the DTE and set its receive state 
  1778. variable V(R) to\ 0. 
  1779. .bp
  1780. .PP
  1781. Should the DCE wish to indicate a request for setting up the data
  1782. link, or after transmission of a UA response to a first SARM command from 
  1783. the DTE as a request for setting up the data link, the DCE will transmit 
  1784. an SARM 
  1785. command to the DTE and start Timer\ T1 in order to determine when too much 
  1786. time has elapsed waiting for a reply (see \(sc\ 2.7.7.1 below). The DTE 
  1787. will confirm the reception of the SARM command by transmitting a UA response. 
  1788. When receiving the UA response the DCE will set its send state variable 
  1789. to 0 and stop its 
  1790. Timer\ T1.
  1791. .PP
  1792. If Timer T1 runs out before the UA response is received by the DCE,
  1793. the DCE will retransmit an SARM command and restart Timer T1. After
  1794. transmission of the SARM command N2 times by the DCE, appropriate recovery
  1795. action will be initiated. The value of N2 is defined in \(sc\ 2.7.7.4
  1796. below.
  1797. .RT
  1798. .sp 1P
  1799. .LP
  1800. 2.7.3.2
  1801.     \fIInformation transfer phase\fR 
  1802. .sp 9p
  1803. .RT
  1804. .PP
  1805. After having both transmitted the UA response to a received SARM
  1806. command and having received the UA response to a transmitted SARM command, 
  1807. the DCE will accept and transmit I and supervisory frames according to 
  1808. the 
  1809. procedures described in \(sc\ 2.7.4 below.
  1810. .PP
  1811. When receiving an SARM command, the DCE will conform to the data link resetting 
  1812. procedure described in \(sc\ 2.7.6 below. The DTE may also receive an 
  1813. SARM command while in the information transfer phase.
  1814. .RT
  1815. .sp 1P
  1816. .LP
  1817. 2.7.3.3
  1818.     \fIData link disconnection\fR 
  1819. .sp 9p
  1820. .RT
  1821. .PP
  1822. During the information transfer phase the DTE shall indicate a
  1823. request for disconnecting the data link by transmitting a DISC command 
  1824. to the DCE. Whenever receiving a DISC command, the DCE will return a UA 
  1825. response to 
  1826. the DTE.
  1827. .PP
  1828. During an information transfer phase, should the DCE wish to indicate a 
  1829. request for disconnecting the data link, or when receiving from the DTE 
  1830. first DISC command as a request for disconnecting the data link, the DCE 
  1831. will transmit a DISC command to the DTE and start Timer T1 (see \(sc\ 2.7.7.1 
  1832. below). 
  1833. The DTE will confirm reception of the DISC command by returning a UA response. 
  1834. After transmitting an SARM command, the DCE will not transmit a DISC command 
  1835. until a UA response is received for this SARM command or until Timer T1 runs
  1836. out. When receiving a UA response to the DISC command, the DCE will stop its
  1837. Timer\ T1.
  1838. .PP
  1839. If Timer T1 runs out before a UA response is received by the DCE, the DCE 
  1840. will retransmit a DISC command and restart Timer\ T1. After transmission 
  1841. of the DISC command N2 times by the DCE, appropriate recovery action will 
  1842. be 
  1843. initiated. The value of N2 is defined in \(sc\ 2.7.7.4 below.
  1844. .RT
  1845. .sp 1P
  1846. .LP
  1847. 2.7.4
  1848.     \fILAP procedures for information transfer\fR 
  1849. .sp 9p
  1850. .RT
  1851. .PP
  1852. The procedures which apply to the transmission of I frames in each direction 
  1853. during the information transfer phase are described below. 
  1854. .PP
  1855. In the following, \*Qnumber 1 higher\*U is in reference to a continuously 
  1856. repeated sequence series, i.e.\ 7 is 1 higher than 6, and\ 0 is\ 1 higher 
  1857. than\ 7 for modulo 8\ series. 
  1858. .RT
  1859. .sp 1P
  1860. .LP
  1861. 2.7.4.1
  1862.     \fISending I frames\fR 
  1863. .sp 9p
  1864. .RT
  1865. .PP
  1866. When the DCE has an I frame to transmit (i.e.\ an I frame not
  1867. already transmitted, or having to be retransmitted as described in \(sc\ 
  1868. 2.7.4.5 
  1869. below), it will transmit it with an N(S) equal to its current send state
  1870. variable V(S), and an N(R) equal to its current receive state variable 
  1871. V(R). At the end of the transmission of the I\ frame, the DCE will increment 
  1872. its send 
  1873. state variable V(S) by\ 1.
  1874. .PP
  1875. If Timer T1 is not running at the time of transmission of an I frame, it 
  1876. will be started. 
  1877. .PP
  1878. If the send state variable V(S) is equal to the last value of N(R)
  1879. received plus \fIk\fR (where \fIk\fR is the maximum number of outstanding
  1880. I\ frames\ \(em\ see \(sc\ 2.7.7.6 below), the DCE will not transmit any 
  1881. new I\ frames, 
  1882. but may retransmit an I frame as described in \(sc\ 2.7.4.6 or \(sc\ 2.7.4.9
  1883. below.
  1884. .PP
  1885. When the DCE is in the busy condition, it may still transmit I frames provided 
  1886. that the DTE is not busy. When the DCE is in the command rejection 
  1887. condition, it may still transmit I\ frames.
  1888. .bp
  1889. .RT
  1890. .sp 1P
  1891. .LP
  1892. 2.7.4.2
  1893.     \fIReceiving an I frame\fR \v'3p'
  1894. .sp 9p
  1895. .RT
  1896. .PP
  1897. 2.7.4.2.1
  1898. When the DCE is not in a busy condition and receives a valid I\ frame whose 
  1899. send sequence number N(S) is equal to the DCE receive state variable V(R), 
  1900. the DCE will accept the information field of this frame, 
  1901. increment by\ 1 its receive state variable V(R), and act as follows:
  1902. .LP
  1903.     i)
  1904.     If an I frame is available for transmission by the DCE, it
  1905. may act as in \(sc\ 2.7.4.1 above and acknowledge the received
  1906. I\ frame by setting N(R) in the control field of the next
  1907. transmitted I\ frame to the value of the DCE receive state
  1908. variable V(R). Alternatively the DCE may acknowledge the
  1909. received I\ frame by transmitting an RR response with
  1910. the N(R) equal to the value of the DCE receive state
  1911. variable V(R).
  1912. .LP
  1913.     ii)
  1914.     If no I frame is available for transmission by the DCE, it
  1915. will transmit an RR response with\ N(R) equal to the value of the
  1916. DCE receive state variable\ V(R).
  1917. .PP
  1918. 2.7.4.2.2
  1919. When the DCE is in a busy condition, it may ignore the
  1920. information field contained in any received I\ frame.
  1921. .sp 1P
  1922. .LP
  1923. 2.7.4.3
  1924.     \fIReception of invalid frames\fR 
  1925. .sp 9p
  1926. .RT
  1927. .PP
  1928. When the DCE receives an invalid frame (see \(sc\ 2.6.5.3), this frame 
  1929. will be discarded. 
  1930. .RT
  1931. .sp 1P
  1932. .LP
  1933. 2.7.4.4
  1934.     \fIReception of out\(hyof\(hysequence I frames\fR 
  1935. .sp 9p
  1936. .RT
  1937. .PP
  1938. When the DCE receives a valid I frame whose FCS is correct, but
  1939. whose send sequence number N(S) is incorrect, i.e.\ not equal to the current
  1940. DCE receive state variable V(R), it will discard the information field 
  1941. of the I\ frame and transmit an REJ response with the N(R) set to one higher 
  1942. than the N(S) of the last correctly received I\ frame. The DCE will then 
  1943. discard the 
  1944. information field of all I\ frames received until the expected I\ frame is
  1945. correctly received. When receiving the expected I\ frame, the DCE will then
  1946. acknowledge the I\ frame as described in \(sc\ 2.7.4.2 above. The DCE will 
  1947. use the N(R) and P bit information in the discarded I\ frames as described 
  1948. in \(sc\ 2.6.5.2 above. 
  1949. .RT
  1950. .sp 1P
  1951. .LP
  1952. 2.7.4.5
  1953.     \fIReceiving acknowledgement\fR 
  1954. .sp 9p
  1955. .RT
  1956. .PP
  1957. When correctly receiving an I frame or a supervisory frame (RR, RNR or 
  1958. REJ), even in the busy condition, the DCE will consider the N(R) contained 
  1959. in this frame as an acknowledgement for all I\ frames it has transmitted 
  1960. with an N(S) up to and including the received N(R)\ \(em\ 1. The DCE will 
  1961. stop Timer T1 when it correctly receives an I\ frame or a supervisory frame 
  1962. with the N(R) higher 
  1963. than the last received N(R) (actually acknowledging some I\ frames) or an REJ
  1964. frame with an N(R) equal to the last received N(R).
  1965. .PP
  1966. If Timer T1 has been stopped and if there are outstanding I frames
  1967. still unacknowledged, the DCE will restart Timer T1. If Timer T1 then runs 
  1968. out, the DCE will follow the recovery procedure (in \(sc\(sc\ 2.7.4.6 and\ 
  1969. 2.7.4.9 below) 
  1970. with respect to the unacknowledged I\ frames.
  1971. .RT
  1972. .sp 1P
  1973. .LP
  1974. 2.7.4.6
  1975.     \fIReceiving an REJ frame\fR 
  1976. .sp 9p
  1977. .RT
  1978. .PP
  1979. When receiving an REJ frame, the DCE will set its send state
  1980. variable V(S) to the value of the N(R) received in the REJ control field. It
  1981. will transmit the corresponding I\ frame as soon as it is available or
  1982. retransmit it in accordance with the procedures described in \(sc\ 2.7.4.1 
  1983. above. (Re)transmission will conform to the following: 
  1984. .RT
  1985. .LP
  1986.     i)
  1987.     If the DCE is transmitting a supervisory or unnumbered
  1988. command or response when it receives the REJ frame, it will
  1989. complete that transmission before commencing transmission of the
  1990. requested I\ frame.
  1991. .LP
  1992.     ii)
  1993.     If the DCE is transmitting an I\ frame when the REJ frame is
  1994. received, it may abort the I\ frame and commence transmission
  1995. of the requested I\ frame immediately after abortion.
  1996. .LP
  1997.     iii)
  1998.     If the DCE is not transmitting any frame when the REJ
  1999. frame is received, it will commence transmission of the
  2000. requested I\ frame immediately.
  2001. .bp
  2002. .PP
  2003. In all cases, if other unacknowledged I frames have already been transmitted 
  2004. following the one indicated in the REJ frame, then those I\ frames will 
  2005. be retransmitted by the DCE following the retransmission of the requested 
  2006. I\ frame. Other I\ frames not yet transmitted may be transmitted following 
  2007. the 
  2008. retransmitted I\ frames.
  2009. .PP
  2010. If the REJ frame was received from the DTE as a command with the P bit 
  2011. set to\ 1, the DCE will transmit an RR or RNR response with the F\ bit 
  2012. set to\ 1 before transmitting or retransmitting the corresponding I\ frame. 
  2013. .RT
  2014. .sp 1P
  2015. .LP
  2016. 2.7.4.7
  2017.     \fIReceiving an RNR frame\fR 
  2018. .sp 9p
  2019. .RT
  2020. .PP
  2021. After receiving an RNR frame, the DCE may transmit or retransmit
  2022. the I\ frame with the send sequence number equal to the N(R) indicated in the
  2023. RNR frame. If Timer T1 runs out after the reception of the RNR frame, the 
  2024. DCE will follow the procedure described in \(sc\ 2.7.4.9 below. In any 
  2025. case, the DCE 
  2026. will not transmit any other I\ frames before receiving an RR or REJ frame, or
  2027. before the completion of a data link resetting procedure.
  2028. .RT
  2029. .sp 1P
  2030. .LP
  2031. 2.7.4.8
  2032.     \fIDCE busy condition\fR 
  2033. .sp 9p
  2034. .RT
  2035. .PP
  2036. When the DCE enters a busy condition, it will transmit an RNR
  2037. response at the earliest opportunity. While in the busy condition, the 
  2038. DCE will accept and process supervisory frames, will accept and process 
  2039. the contents of the N(R) fields of I\ frames, and will return an RNR response 
  2040. with the F\ bit set to\ 1 if it receives a supervisory command or\ I command 
  2041. frame with the P\ bit set to\ 1. To clear the busy condition, the DCE will 
  2042. transmit either an REJ response or an RR response, with N(R) set to the 
  2043. current receive state variable V(R), 
  2044. depending on whether or not it discarded information fields of correctly
  2045. received I\ frames.
  2046. .PP
  2047. \fINote\fR \ \(em\ The DTE when encountering a DCE busy condition, may send
  2048. supervisory command frames with the P bit set to\ 1. In the event that 
  2049. the DTE has not implemented supervisory commands, it may follow the procedures 
  2050. of the DCE (see \(sc\ 2.7.4.7). 
  2051. .RT
  2052. .sp 1P
  2053. .LP
  2054. 2.7.4.9
  2055.     \fIWaiting acknowledgement\fR 
  2056. .sp 9p
  2057. .RT
  2058. .PP
  2059. The DCE maintains an internal transmission attempt variable which is set 
  2060. to\ 0 when the DCE sends a UA response, when the DCE receives a UA 
  2061. response or an RNR command or response, or when the DCE correctly receives 
  2062. an I\ frame or supervisory frame with the N(R) higher than the last received 
  2063. N(R) (actually acknowledging some outstanding I\ frames). 
  2064. .PP
  2065. If Timer T1 runs out waiting for the acknowledgement from the DTE for an 
  2066. I\ frame transmitted, the DCE will enter the timer recovery condition, 
  2067. add 
  2068. one to its transmission attempt variable and set an internal variable \fIx\fR 
  2069. to 
  2070. the current value of its send state variable\ V(S).
  2071. .PP
  2072. The DCE will restart Timer T1, set its send state variable V(S) to the 
  2073. last N(R) received from the DTE, and retransmit the corresponding I\ frame 
  2074. with the P\ bit set to\ 1. 
  2075. .PP
  2076. The timer recovery condition is cleared when the DCE receives a valid supervisory 
  2077. frame from the DTE, with the F\ bit set to\ 1. 
  2078. .PP
  2079. If, while in the timer recovery condition, the DCE correctly receives a 
  2080. supervisory frame with the F\ bit set to\ 1 and with an N(R) within the 
  2081. range from its current send state variable V(S) to\ \fIx\fR included, it 
  2082. will clear the 
  2083. timer recovery condition (including stopping Timer\ T1) and set its send 
  2084. state variable V(S) to the received N(R), and may then resume with I\ frame 
  2085. transmission or retransmission, as appropriate.
  2086. .PP
  2087. If, while in the timer recovery condition, the DCE correctly receives an\ 
  2088. I or supervisory frame with the P/F bit set to\ 0 and with N(R) within 
  2089. the 
  2090. range from its current send state variable V(S) to \fIx\fR included, it 
  2091. will not 
  2092. clear the timer recovery condition. The value of the received N(R) may 
  2093. be used to update the send state variable V(S). However, the DCE may decide 
  2094. to keep the last transmitted I frame in store (even if it is acknowledged) 
  2095. in order to be able to retransmit it with the P\ bit set to\ 1 when Timer 
  2096. T1 runs out at a later time. 
  2097. .PP
  2098. If Timer T1 runs out in the timer recovery condition, the DCE will add 
  2099. one to its transmission attempt variable, restart Timer T1, and retransmit 
  2100. the I\ frame sent with the P\ bit set to\ 1. 
  2101. .bp
  2102. .PP
  2103. If the transmission attempt variable is equal to N2, the DCE will
  2104. initiate a data link resetting procedure for the direction of transmission 
  2105. from the DCE as described in \(sc\ 2.7.6.3 below. N2 is a system parameter 
  2106. (see 
  2107. \(sc\ 2.7.7.4 below).
  2108. .PP
  2109. \fINote\fR \ \(em\ Although the DCE may implement the internal variable 
  2110. \fIx\fR , 
  2111. other mechanisms do exist that achieve the identical function. Therefore, 
  2112. the internal variable \fIx\fR is not necessarily implemented in the DTE. 
  2113. .RT
  2114. .sp 2P
  2115. .LP
  2116. 2.7.5
  2117.     \fILAP command rejection conditions\fR 
  2118. .sp 1P
  2119. .RT
  2120. .sp 1P
  2121. .LP
  2122. 2.7.5.1
  2123.     \fIRejection conditions causing a data link resetting of the\fR 
  2124. \fItransmission of information from the DCE\fR 
  2125. .sp 9p
  2126. .RT
  2127. .PP
  2128. The DCE will initiate a data link resetting procedure as described in \(sc\ 
  2129. 2.7.6.3 below when receiving a frame which is not invalid (see \(sc\ 2.6.5.3) 
  2130. with the address\ A (coded\ 11000000) and with one of the following 
  2131. conditions:
  2132. .RT
  2133. .LP
  2134.     \(em
  2135.     the frame type is unknown as one of the responses supported;
  2136. .LP
  2137.     \(em
  2138.     the information field is invalid;
  2139. .LP
  2140.     \(em
  2141.     the N(R) contained in the control field is invalid; or
  2142. .LP
  2143.     \(em
  2144.     the response contains an F bit set to 1 except during a timer
  2145. recovery condition as described in \(sc\ 2.7.4.9
  2146. above.
  2147. .PP
  2148. The DCE will also initiate a data link resetting procedure as
  2149. described in \(sc\ 2.7.6.3 below when receiving an I or supervisory frame 
  2150. which is not invalid (see \(sc\ 2.6.5.3) with the address\ B (coded\ 10000000) 
  2151. and with an 
  2152. invalid N(R) contained in the control field.
  2153. .PP
  2154. A valid N(R) must be within the range from the lowest send sequence
  2155. number N(S) of the still unacknowledged frame(s) to the current DCE send 
  2156. state variable V(S) included, even if the DCE is in a rejection condition, 
  2157. but 
  2158. not if the DCE is in the timer recovery condition (see \(sc\ 2.7.4.9
  2159. above).
  2160. .RT
  2161. .sp 1P
  2162. .LP
  2163. 2.7.5.2
  2164.     \fIRejection conditions causing the DCE to request a data link\fR 
  2165. \fIresetting of the transmission of information from the DTE\fR 
  2166. .sp 9p
  2167. .RT
  2168. .PP
  2169. The DCE will enter the command rejection condition as described in \(sc\ 
  2170. 2.7.6.5 below when receiving a frame which is not invalid (see \(sc\ 2.6.5.3) 
  2171. with the address\ B (coded\ 10000000) and with one of the following
  2172. conditions:
  2173. .RT
  2174. .LP
  2175.     \(em
  2176.     the frame type is unknown as one of the commands supported;   or
  2177. .LP
  2178.     \(em
  2179.     the information field is invalid.
  2180. .sp 1P
  2181. .LP
  2182. 2.7.6
  2183.     \fILAP procedures for data link resetting\fR \v'3p'
  2184. .sp 9p
  2185. .RT
  2186. .PP
  2187. 2.7.6.1
  2188. The data link resetting procedure is used to reinitialize one
  2189. direction of information transfer according to the procedure described 
  2190. below. The data link resetting procedures only apply during the information 
  2191. transfer phase. 
  2192. .PP
  2193. 2.7.6.2
  2194. The DTE will indicate a data link resetting of the information
  2195. transmission from the DTE by transmitting an SARM command to the DCE. When
  2196. receiving an SARM command correctly, the DCE will return, at the earliest
  2197. opportunity, a UA response to the DTE and set its receive state variables 
  2198. V(R) to zero. This also indicates a clearance of a DCE and/or DTE busy 
  2199. condition, if present. 
  2200. .PP
  2201. 2.7.6.3
  2202. The DCE will indicate a data link resetting of the information
  2203. transmitted from the DCE by transmitting an SARM command to the DTE and will
  2204. start Timer\ T1 (see \(sc\ 2.7.7.1 below). The DTE will confirm reception 
  2205. of the 
  2206. SARM command by returning a UA response to the DCE. When receiving this UA
  2207. response to the SARM command, the DCE will set its send state variable V(S)
  2208. to\ 0 and stop its Timer T1. If Timer T1 runs out before the UA response is
  2209. received by the DCE, the DCE will retransmit an SARM command and restart
  2210. Timer\ T1. After transmission of the SARM command\ N2 times, appropriate 
  2211. higher layer recovery action will be initiated. The value of N2 is defined 
  2212. in 
  2213. \(sc\ 2.7.7.4 below.
  2214. .PP
  2215. The DCE will not act on any received response frame which arrives before 
  2216. the UA response command. The value of N(R) contained in any correctly 
  2217. received\ I command frame arriving before the UA response will also be
  2218. ignored.
  2219. .PP
  2220. 2.7.6.4
  2221. When receiving a CMDR response from the DTE, the DCE will
  2222. initiate a data link resetting of the information transmission from the 
  2223. DCE as described in \(sc\ 2.7.6.3 above. 
  2224. .bp
  2225. .PP
  2226. 2.7.6.5
  2227. If the DCE transmits a CMDR response, it enters the command
  2228. rejection condition. The command rejection condition is cleared when the DCE
  2229. receives an SARM or DISC command. Any other command received while in the
  2230. command rejection condition will cause the DCE to retransmit the CMDR
  2231. response. The coding of the CMDR response will be as described in \(sc\ 2.6.4.8
  2232. above.
  2233. .sp 1P
  2234. .LP
  2235. 2.7.7
  2236.     \fIList of\fR 
  2237. \fILAP system parameters\fR 
  2238. .sp 9p
  2239. .RT
  2240. .PP
  2241. The DCE and DTE system parameters are as follows:
  2242. .RT
  2243. .sp 1P
  2244. .LP
  2245. 2.7.7.1
  2246.     \fITimer T1\fR 
  2247. .sp 9p
  2248. .RT
  2249. .PP
  2250. The value of the DTE Timer\ T1 system parameter may be different
  2251. than the value of the DCE Timer\ T1 system parameter. These values shall 
  2252. be made known to both the DTE and the DCE, and agreed to for a period of 
  2253. time by both the DTE and the DCE. 
  2254. .PP
  2255. The period of Timer\ T1, at the end of which retransmission of a frame 
  2256. may be initiated (see \(sc\(sc\ 2.7.4 and\ 2.7.5 above for the DCE), shall 
  2257. take into 
  2258. account whether T1 is started at the beginning or the end of the transmission 
  2259. of a frame. 
  2260. .PP
  2261. The proper operation of the procedure requires that the transmitter's (DCE 
  2262. or DTE) Timer\ T1 be greater than the maximum time between transmission 
  2263. of a frame (SARM, DISC, I, or supervisory command, or CMDR response) and 
  2264. the 
  2265. reception of the corresponding frame returned as an answer to that frame 
  2266. (UA or acknowl 
  2267. edging\ frame). Therefore, the receiver (DCE or DTE) should not delay the 
  2268. response or acknowledging frame returned to one of the above frames by 
  2269. more than a value\ T2, where T2 is a system parameter (see \(sc\ 2.7.7.2). 
  2270. .PP
  2271. The DCE will not delay the response or acknowledging frame returned to 
  2272. one of the above DTE frames by more than a period\ T2. 
  2273. .RT
  2274. .sp 1P
  2275. .LP
  2276. 2.7.7.2
  2277.     \fIParameter T2\fR 
  2278. .sp 9p
  2279. .RT
  2280. .PP
  2281. The value of the DTE parameter T2 may be different than the value of the 
  2282. DCE parameter\ T2. These values shall be made known to both the DTE 
  2283. and the DCE, and agreed to for a period of time by both the DTE and the
  2284. DCE.
  2285. .PP
  2286. The period of parameter T2 shall indicate the amount of time available 
  2287. at the DCE or DTE before the acknowledging frame must be initiated in order 
  2288. to ensure its receipt by the DTE or DCE, respectively, prior to Timer\ 
  2289. T1 running out at the DTE or DCE (parameter T2\ <\ Timer T1). 
  2290. .PP
  2291. \fINote\fR \ \(em\ The period of parameter T2 shall take into account the
  2292. following timing factors: the transmission time of the acknowledging frame, 
  2293. the propagation time over the access data link, the state processing times 
  2294. at the DCE and the DTE, and the time to complete the transmission of the 
  2295. frames in the DCE or DTE transmit queue that are neither displaceable or 
  2296. modifiable in an 
  2297. orderly manner.
  2298. .PP
  2299. Given a value for Timer\ T1 for the DTE or DCE, the value of
  2300. parameter\ T2 at the DCE or DTE, respectively, must be no larger than T1 
  2301. minus 2\ times the propagation time over the access data link, minus the 
  2302. frame 
  2303. processing time at the DCE, minus the frame processing time at the DTE, and
  2304. minus the transmission time of the acknowledging frame by the DCE or DTE,
  2305. respectively.
  2306. .RT
  2307. .sp 1P
  2308. .LP
  2309. 2.7.7.3
  2310.     \fITimer T3\fR 
  2311. .sp 9p
  2312. .RT
  2313. .PP
  2314. The DCE shall support a Timer T3 system parameter, the value of
  2315. which shall be made known to 
  2316. the\ DTE.
  2317. .PP
  2318. The period of Timer T3, at the end of which an indication of an
  2319. observed excessively long idle link channel state condition is passed to the
  2320. Packet Layer, shall be sufficiently greater than the period of the DCE 
  2321. Timer\ T1 (i.e.\ T3\ >\ T1) so that the expiration of T3 provides the desired 
  2322. level of 
  2323. assurance that the data link channel is in a non\(hyactive, non\(hyoperational
  2324. state, and is in need of data link set\(hyup before normal data link operation
  2325. can resume.
  2326. .RT
  2327. .sp 1P
  2328. .LP
  2329. 2.7.7.4
  2330.     \fIMaximum number of attempts to complete a transmission N2\fR 
  2331. .sp 9p
  2332. .RT
  2333. .PP
  2334. The value of the DTE N2 system parameter may be different than the value 
  2335. of the DCE N2 system parameter. These values shall be made known to both 
  2336. the DTE and the DCE, and agreed to for a period of time by both the DTE 
  2337. and the DCE. 
  2338. .PP
  2339. The value of N2 shall indicate the maximum number of attempts made by the 
  2340. DCE or DTE to complete the successful transmission of a frame to the DTE 
  2341. or DCE, respectively. 
  2342. .bp
  2343. .RT
  2344. .sp 1P
  2345. .LP
  2346. 2.7.7.5
  2347.     \fIMaximum number of bits in an I frame N1\fR 
  2348. .sp 9p
  2349. .RT
  2350. .PP
  2351. The value of the DTE N1 system parameter may be different than the value 
  2352. of the DCE\ N1 system parameter. These values shall be made known to both 
  2353. the DTE and the DCE. 
  2354. .PP
  2355. The values of N1 shall indicate the maximum number of bits in an
  2356. I\ frame (excluding flags and 0\ bits inserted for transparency) that the 
  2357. DCE or DTE is willing to accept from the DTE or DCE, respectively. 
  2358. .PP
  2359. In order to allow for universal operation, a DTE should support a
  2360. value of DTE\ N1 which is not less than 1080\ bits (135\ octets). DTEs 
  2361. should be aware that the network may transmit longer packets (see \(sc\ 
  2362. 5.2), that may result in a data link layer problem. 
  2363. .PP
  2364. All networks shall offer to a DTE which requires it, a value of DCE\ N1 
  2365. which is greater than or equal to 2072\ bits (259\ octets) plus the length 
  2366. of the address, control and FCS fields at the DTE/DCE interface, and greater 
  2367. than or equal to the maximum length of the data packets which may cross 
  2368. the DTE/DCE 
  2369. interface plus the length of the address, control and FCS fields at the 
  2370. DTE/DCE interface. 
  2371. .RT
  2372. .sp 1P
  2373. .LP
  2374. 2.7.7.6
  2375.     \fIMaximum number of outstanding I frames k\fR 
  2376. .sp 9p
  2377. .RT
  2378. .PP
  2379. The value of the DTE k\ system parameter shall be the same as the
  2380. value of the DCE k\ system parameter. This value shall be agreed to for a
  2381. period of time by both the DTE and the DCE.
  2382. .PP
  2383. The value of k shall indicate the maximum number of sequentially
  2384. numbered I\ frames that the DTE of DCE may have outstanding
  2385. (i.e.\ unacknowledged) at any given time. The value of\ k shall never exceed
  2386. seven. All networks (DCEs) shall support a value of seven. Other values of\ k
  2387. (less than seven) may also be supported by networks (DCEs).
  2388. .RT
  2389. .sp 2P
  2390. .LP
  2391. \fB3\fR     \fBDescription of the\fR 
  2392. \fBpacket level DTE/DCE interface\fR 
  2393. .sp 1P
  2394. .RT
  2395. .PP
  2396. This and subsequent sections of the Recommendation relate to the
  2397. transfer of packets at the DTE/DCE interface. The procedures apply to packets 
  2398. which are successfully transferred across the DTE/DCE interface. 
  2399. .PP
  2400. Each packet to be transferred across the DTE/DCE interface shall be
  2401. contained within the data link layer information field which will delimit 
  2402. its length, and only one packet shall be contained in the information field. 
  2403. .PP
  2404. \fINote\fR \ \(em\ Some networks require the data fields of packets to 
  2405. contain an integral number of octets. The transmission by the DTE of data 
  2406. fields not 
  2407. containing an integral number of octets to the network may cause a loss 
  2408. of data integrity. DTEs wishing universal operation on all networks should 
  2409. transmit 
  2410. all packets with data fields containing only an integral number of octets. 
  2411. Full data integrity can only be assured by exchange of octet\(hyoriented 
  2412. data fields in both directions of transmission. 
  2413. .PP
  2414. This section covers a description of the packet layer interface for
  2415. virtual call and permanent virtual circuit services.
  2416. .PP
  2417. Procedures for the virtual circuit service (i.e.,\ virtual call and
  2418. permanent virtual circuit services) are specified in \(sc\ 4. Packet formats 
  2419. are 
  2420. specified in \(sc\ 5. Procedures and formats for optional user facilities are
  2421. specified in \(sc\(sc\ 6 and\ 7.
  2422. .RT
  2423. .sp 1P
  2424. .LP
  2425. 3.1
  2426.     \fILogical channels\fR 
  2427. .sp 9p
  2428. .RT
  2429. .PP
  2430. To enable simultaneous virtual calls and/or permanent virtual
  2431. circuits, logical channels are used. Each virtual call or permanent virtual
  2432. circuit is assigned a logical channel group number (less than or equal 
  2433. to\ 15) and a logical channel number (less than or equal to\ 255). For 
  2434. virtual calls, a logical channel group number and a logical channel number 
  2435. are assigned during the call set\(hyup phase. The range of logical channels 
  2436. used for virtual calls is agreed with the Administration at the time of 
  2437. subscription to the service (see Annex\ A). For permanent virtual circuits, 
  2438. logical channel group numbers and 
  2439. logical channel numbers are assigned in agreement with the Administration at
  2440. the time of subscription to the service (see Annex\ A).
  2441. .bp
  2442. .RT
  2443. .sp 1P
  2444. .LP
  2445. 3.2
  2446.     \fIBasic structure of packets\fR 
  2447. .sp 9p
  2448. .RT
  2449. .PP
  2450. Every packet transferred across the DTE/DCE interface consists of at least 
  2451. three octets. These three octets contain a general format identifier, a 
  2452. logical channel identifier and a packet type identifier. Other packet fields 
  2453. are appended as required (see \(sc\ 5). 
  2454. .PP
  2455. Packet types and their use in association with various services are
  2456. given in Table\ 14/X.25.
  2457. .RT
  2458. .LP
  2459. .sp 4
  2460. .ce
  2461. \fBH.T. [T12.25]\fR 
  2462. .ce
  2463. TABLE\ 14/X.25
  2464. .ce
  2465. \fBPacket types and their use in various services\fR 
  2466. .ps 9
  2467. .vs 11
  2468. .nr VS 11
  2469. .nr PS 9
  2470. .TS
  2471. center box;
  2472. cw(174p) | cw(36p) .
  2473. Packet type    Service
  2474. _
  2475. .T&
  2476. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2477. From DCE to DTE    From DTE to DCE    VC      PVC
  2478. _
  2479. .T&
  2480. cw(174p) | lw(18p) | lw(18p) .
  2481. T{
  2482. \fICall set\(hyup and clearing\fR
  2483. (see Note 1)
  2484. T}        
  2485. .T&
  2486. lw(90p) | lw(84p) | cw(18p) | lw(18p) .
  2487. Incoming call    Call request    X    
  2488. .T&
  2489. lw(90p) | lw(84p) | cw(18p) | lw(18p) .
  2490. Call connected    Call accepted    X    
  2491. .T&
  2492. lw(90p) | lw(84p) | cw(18p) | lw(18p) .
  2493. Clear indication    Clear request    X    
  2494. .T&
  2495. lw(90p) | lw(84p) | cw(18p) | lw(18p) .
  2496. DCE clear confirmation    DTE clear confirmation    X    
  2497. .T&
  2498. cw(174p) | lw(18p) | lw(18p) .
  2499. T{
  2500. \fIData and interrupt\fR
  2501. (see Note 2)
  2502. T}        
  2503. .T&
  2504. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2505. DCE data    DTE data    X    X
  2506. .T&
  2507. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2508. DCE interrupt    DTE interrupt    X    X
  2509. .T&
  2510. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2511. DCE interrupt confirmation    DTE interrupt confirmation    X    X
  2512. .T&
  2513. cw(174p) | lw(18p) | lw(18p) .
  2514. T{
  2515. \fIFlow control and reset\fR
  2516. (see Note 3)
  2517. T}        
  2518. .T&
  2519. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2520. DCE RR    DTE RR    X    X
  2521. .T&
  2522. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2523. DCE RNR    DTE RNR    X    X
  2524. .T&
  2525. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2526.     DTE REJ\|\ua\d\u)\d    X    X
  2527. .T&
  2528. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2529. Reset indication    Reset request    X    X
  2530. .T&
  2531. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2532. DCE reset confirmation    DTE reset confirmation    X    X
  2533. .T&
  2534. cw(174p) | lw(18p) | lw(18p) .
  2535. T{
  2536. \fIRestart\fR
  2537. (see Note 4)
  2538. T}        
  2539. .T&
  2540. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2541. Restart indication    Restart request    X    X
  2542. .T&
  2543. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2544. DCE restart confirmation    DTE restart confirmation    X    X
  2545. .T&
  2546. cw(174p) | lw(18p) | lw(18p) .
  2547. T{
  2548. \fIDiagnostic\fR
  2549. (see Note 5)
  2550. T}        
  2551. .T&
  2552. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2553. Diagnostic\|\ua\d\u)\d        X    X
  2554. .T&
  2555. cw(174p) | lw(18p) | lw(18p) .
  2556. T{
  2557. \fIRegistration\fR
  2558. \|\ua\d\u)\d (see Note 6)
  2559. T}        
  2560. .T&
  2561. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2562. Registration Confirmation        X    X
  2563. .T&
  2564. lw(90p) | lw(84p) | cw(18p) | cw(18p) .
  2565.     Registration Request    X    T{
  2566. X
  2567. \ua\d\u)\d\ Not necessarily available on all networks.
  2568. .parag
  2569. VC
  2570. Virtual call
  2571. PVC
  2572. Permanent virtual circuit
  2573. .parag
  2574. \fINote\ 1\fR
  2575. \ \(em\ See \(sc\(sc\ 4.1 and 6.16 for procedures, \(sc\ 5.2 for formats.
  2576. .parag
  2577. \fINote\ 2\fR
  2578. \ \(em\ See \(sc\ 4.3 for procedures and \(sc\ 5.3 for formats.
  2579. .parag
  2580. \fINote\ 3\fR
  2581. \ \(em\ See \(sc\(sc\ 4.4 and 6.4 for procedures, \(sc\(sc\ 5.4 and 5.7.1 for formats.
  2582. .parag
  2583. \fINote\ 4\fR
  2584. \ \(em\ See \(sc\ 3.3 for procedures and \(sc\ 5.5 for formats.
  2585. .parag
  2586. \fINote\ 5\fR
  2587. \ \(em\ See \(sc\ 3.4 for procedures and \(sc\ 5.6 for formats.
  2588. .parag
  2589. \fINote\ 6\fR
  2590. \ \(em\ See \(sc\ 6.1 for procedures and \(sc\ 5.7.2 for formats.
  2591. .parag
  2592. T}
  2593. _
  2594. .TE
  2595. .nr PS 9
  2596. .RT
  2597. .ad r
  2598. \fBTable 14/X.25 [T12.25], p.\fR 
  2599. .sp 1P
  2600. .RT
  2601. .ad b
  2602. .RT
  2603. .LP
  2604. .bp
  2605. .sp 1P
  2606. .LP
  2607. 3.3
  2608.     \fIProcedure for\fR 
  2609. \fIrestart\fR 
  2610. .sp 9p
  2611. .RT
  2612. .PP
  2613. The restart procedure is used to initialize or reinitialize the
  2614. packet layer DTE/DCE interface. The restart procedure simultaneously clears 
  2615. all the virtual calls and resets all the permanent virtual circuits at 
  2616. the 
  2617. DTE/DCE interface (see \(sc\ 4.5).
  2618. .PP
  2619. Figure\ B\(hy1/X.25 gives the state diagram which defines the logical
  2620. relationships of events related to the restart procedure.
  2621. .PP
  2622. Table C\(hy2/X.25 specifies actions taken by the DCE on the receipt of
  2623. packets from the DTE for the restart procedure.
  2624. .RT
  2625. .sp 1P
  2626. .LP
  2627. 3.3.1
  2628.     \fIRestart by the DTE\fR 
  2629. .sp 9p
  2630. .RT
  2631. .PP
  2632. The DTE may at any time request a restart by transferring across
  2633. the DTE/DCE interface a \fIrestart request\fR packet. The interface for each
  2634. logical channel is then in the \fIDTE restart request\fR state\ (r2).
  2635. .PP
  2636. The DCE will confirm the restart by transferring a \fIDCE restart\fR 
  2637. \fIconfirmation packet\fR \| and placing the logical channels used for 
  2638. virtual calls in the \fIready\fR state (p1), and the logical channels used 
  2639. for permanent virtual circuits in the \fIflow control ready\fR state (d1). 
  2640. .PP
  2641. \fINote\fR \ \(em\ States p1 and d1 are specified in \(sc\ 4.
  2642. .PP
  2643. The \fIDCE restart confirmation\fR \|packet can only be interpreted
  2644. universally as having local significance. The time spent in the \fIDTE 
  2645. restart\fR \fIrequest\fR state (r2) will not exceed time\(hylimit T20 (see 
  2646. Annex\ D). 
  2647. .RT
  2648. .sp 1P
  2649. .LP
  2650. 3.3.2
  2651.     \fIRestart by the DCE\fR 
  2652. .sp 9p
  2653. .RT
  2654. .PP
  2655. The DCE may indicate a restart by transferring across the DTE/DCE
  2656. interface a \fIrestart indication\fR \|packet. The interface for each logical
  2657. channel is then in the \fIDCE restart indication\fR state (r3). In this 
  2658. state of 
  2659. the DTE/DCE interface, the DCE will ignore all packets except for \fIrestart\fR 
  2660. \fIrequest\fR and \fIDTE restart confirmation\fR .
  2661. .PP
  2662. The DTE will confirm the restart by transferring a \fIDTE restart\fR 
  2663. \fIconfirmation\fR \|packet and placing the logical channels used for virtual 
  2664. calls in the \fIready\fR state\ (p1), and the logical channels used for 
  2665. permanent virtual circuits in the \fIflow control ready\fR state\ (d1). 
  2666. .PP
  2667. The action taken by the DCE when the DTE does not confirm the restart within 
  2668. time\(hyout T10 is given in Annex\ D. 
  2669. .RT
  2670. .sp 1P
  2671. .LP
  2672. 3.3.3
  2673.     \fIRestart collision\fR 
  2674. .sp 9p
  2675. .RT
  2676. .PP
  2677. Restart collision occurs when a DTE and a DCE simultaneously
  2678. transfer a \fIrestart request\fR \|and a \fIrestart indication\fR packet. 
  2679. Under these 
  2680. circumstances, the DCE will consider that the restart is completed. The DCE
  2681. will not expect a \fIDTE restart confirmation\fR packet and will not transfer a
  2682. \fIDCE restart confirmation\fR packet. This places the logical channels 
  2683. used for 
  2684. virtual calls in the \fIready\fR state\ (p1), and the logical channels used for
  2685. permanent virtual circuits in the \fIflow control ready\fR state\ (d1).
  2686. .RT
  2687. .sp 1P
  2688. .LP
  2689. 3.4
  2690.     \fIError handling\fR 
  2691. .sp 9p
  2692. .RT
  2693. .PP
  2694. Table C\(hy1/X.25 specifies the reaction of the DCE when special error 
  2695. conditions are encountered. Other error conditions are discussed in 
  2696. \(sc\ 4.
  2697. .RT
  2698. .sp 1P
  2699. .LP
  2700. 3.4.1
  2701.     \fIDiagnostic packet\fR 
  2702. .sp 9p
  2703. .RT
  2704. .PP
  2705. The \fIdiagnostic\fR \|packet is used by some networks to indicate error 
  2706. conditions under circumstances where the usual methods of indication 
  2707. (i.e.\ \fIreset\fR , \fIclear\fR and \fIrestart\fR with cause and diagnostic) 
  2708. are 
  2709. inappropriate (see Tables\ C\(hy1/X.25 and D\(hy1/X.25). The \fIdiagnostic\fR 
  2710. packet from the DCE supplies information on error situations which are 
  2711. considered 
  2712. unrecoverable at the packet layer of Recommendation\ X.25; the information
  2713. provided permits an analysis of the error and recovery by higher layers 
  2714. at the DTE if desired or possible. 
  2715. .PP
  2716. A \fIdiagnostic\fR \|packet is issued only once per particular instance 
  2717. of an error condition. No confirmation is required to be issued by the 
  2718. DTE on 
  2719. receipt of a \fIdiagnostic\fR packet.
  2720. .bp
  2721. .RT
  2722. .sp 2P
  2723. .LP
  2724. \fB4\fR     \fBProcedures for virtual circuit services\fR 
  2725. .sp 1P
  2726. .RT
  2727. .sp 1P
  2728. .LP
  2729. 4.1
  2730.     \fIProcedures for\fR 
  2731. \fIvirtual call service\fR 
  2732. .sp 9p
  2733. .RT
  2734. .PP
  2735. Figures B\(hy1/X.25, B\(hy2/X.25 and B\(hy3/X.25 show the state diagrams
  2736. which define the events at the packet layer DTE/DCE interface for each
  2737. logical channel
  2738. used for virtual calls.
  2739. .PP
  2740. Annex C gives details of the action taken by the DCE on receipt of
  2741. packets in each state shown in Annex\ B.
  2742. .PP
  2743. The call set\(hyup and clearing procedures described in the following
  2744. points apply independently to each logical channel assigned to the
  2745. virtual call
  2746. service at the DTE/DCE interface.
  2747. .RT
  2748. .sp 1P
  2749. .LP
  2750. 4.1.1
  2751.     \fIReady state\fR 
  2752. .sp 9p
  2753. .RT
  2754. .PP
  2755. If there is no call in existence, a logical channel is in the
  2756. ready state\ (p1).
  2757. .RT
  2758. .LP
  2759. .sp 1P
  2760. .LP
  2761. 4.1.2
  2762.     \fICall request packet\fR 
  2763. .sp 9p
  2764. .RT
  2765. .PP
  2766. The calling DTE shall indicate a call request by transferring a
  2767. \fIcall request\fR \|packet across the DTE/DCE interface. The logical channel
  2768. selected by the DTE is then in the \fIDTE waiting\fR state\ (p2). The \fIcall 
  2769. request\fR packet includes the called DTE address. 
  2770. .PP
  2771. \fINote\ 1\fR \ \(em\ A DTE address may be a DTE network address or any 
  2772. other DTE identification agreed for a period of time between the DTE and 
  2773. the DCE. 
  2774. .PP
  2775. \fINote\ 2\fR \ \(em\ The call request packet should use the logical channel
  2776. in the \fIready\fR \| state with the highest number in the range which has been
  2777. agreed with the Administration (see Annex\ A). Thus the risk of call collision 
  2778. is minimized. 
  2779. .RT
  2780. .sp 1P
  2781. .LP
  2782. 4.1.3
  2783.     \fIIncoming call packet\fR 
  2784. .sp 9p
  2785. .RT
  2786. .PP
  2787. The DCE will indicate that there is an incoming call by
  2788. transferring across the DTE/DCE interface an \fIincoming call\fR packet. This
  2789. places the logical channel in the \fIDCE waiting\fR state\ (p3).
  2790. .PP
  2791. The \fIincoming call\fR \|packet will use the logical channel in the \fIready\fR 
  2792. \| state with the lowest number (see Annex\ A). The \fIincoming call\fR 
  2793. packet includes the calling DTE address. 
  2794. .PP
  2795. \fINote\fR \ \(em\ A DTE address may be a DTE network address or any other 
  2796. DTE identification agreed for a period of time between the DTE and the 
  2797. DCE.
  2798. .RT
  2799. .sp 1P
  2800. .LP
  2801. 4.1.4
  2802.     \fICall accepted packet\fR 
  2803. .sp 9p
  2804. .RT
  2805. .PP
  2806. The called DTE shall indicate its acceptance of the call by
  2807. transferring across the DTE/DCE interface a \fIcall accepted\fR packet 
  2808. specifying the same logical channel as that of the \fIincoming call\fR 
  2809. packet. This places the specified logical channel in the \fIdata transfer\fR 
  2810. state\ (p4). 
  2811. .PP
  2812. If the called DTE does not accept the call by a \fIcall accepted\fR \|packet 
  2813. or does not reject it by a \fIclear request\fR packet as described in \(sc\ 
  2814. 4.1.7 
  2815. within time\(hyout T11 (see Annex\ D), the DCE will consider it as a procedure
  2816. error from the called DTE and will clear the virtual call according to the
  2817. procedure described in \(sc\ 4.1.8.
  2818. .RT
  2819. .sp 1P
  2820. .LP
  2821. 4.1.5
  2822.     \fICall connected packet\fR 
  2823. .sp 9p
  2824. .RT
  2825. .PP
  2826. The receipt of a \fIcall connected\fR \|packet by the calling DTE
  2827. specifying the same logical channel as that specified in the \fIcall request\fR 
  2828. packet indicates that the call has been accepted by the called DTE by means 
  2829. of a \fIcall accepted\fR packet. This places the specified logical channel 
  2830. in the 
  2831. \fIdata transfer\fR state\ (p4).
  2832. .PP
  2833. The time spent in the \fIDTE waiting\fR \|state (p2) will not exceed
  2834. time\(hylimit T21 (see Annex\ D).
  2835. .bp
  2836. .RT
  2837. .sp 1P
  2838. .LP
  2839. 4.1.6
  2840.     \fICall collision\fR 
  2841. .sp 9p
  2842. .RT
  2843. .PP
  2844. Call collision occurs when a DTE and DCE simultaneously transfer a \fIcall 
  2845. request\fR \|packet and an \fIincoming call\fR packet specifying the same 
  2846. logical channel. The DCE will proceed with the \fIcall request\fR and cancel 
  2847. the 
  2848. \fIincoming call\fR .
  2849. .RT
  2850. .sp 1P
  2851. .LP
  2852. 4.1.7
  2853.     \fIClearing by the DTE\fR 
  2854. .sp 9p
  2855. .RT
  2856. .PP
  2857. At any time, the DTE may indicate clearing by transferring across the DTE/DCE 
  2858. interface a \fIclear request\fR packet (see \(sc\ 4.5). The logical channel 
  2859. is then in the \fIDTE clear request\fR state (p6). When the DCE is prepared 
  2860. to 
  2861. free the logical channel, the DCE will transfer across the DTE/DCE interface 
  2862. a \fIDCE clear confirmation\fR packet specifying the logical channel. The 
  2863. logical 
  2864. channel is then in the \fIready\fR state\ (p1).
  2865. .PP
  2866. The \fIDCE clear confirmation\fR \|packet can only be interpreted
  2867. universally as having local significance; however, within some Administrations' 
  2868. networks, clear confirmation may have end\(hyto\(hyend significance. In 
  2869. all cases, 
  2870. the time spent in the \fIDTE clear request\fR state\ (p6) will not exceed
  2871. time\(hylimit\ T23 (see Annex\ D).
  2872. .PP
  2873. It is possible that subsequent to transferring a \fIclear request\fR 
  2874. \|packet the DTE will receive other types of packets, depending upon the 
  2875. state of the logical channel, before receiving a \fIDCE clear confirmation\fR 
  2876. packet.
  2877. .PP
  2878. \fINote\fR \ \(em\ The calling DTE may abort a call by clearing it before 
  2879. it has received a \fIcall connected\fR or \fIclear indication\fR packet. 
  2880. .PP
  2881. The called DTE may refuse an incoming call by clearing it as described 
  2882. in this point rather than transmitting a \fIcall accepted\fR packet as 
  2883. described in \(sc\ 4.1.4. 
  2884. .RT
  2885. .sp 1P
  2886. .LP
  2887. 4.1.8
  2888.     \fIClearing by the DCE\fR 
  2889. .sp 9p
  2890. .RT
  2891. .PP
  2892. The DCE will indicate clearing by transferring across the DTE/DCE interface 
  2893. a \fIclear indication\fR \|packet (see \(sc\ 4.5). The logical channel 
  2894. is then in the \fIDCE clear indication\fR state\ (p7). The DTE shall respond 
  2895. by transferring across the DTE/DCE interface a \fIDTE clear confirmation 
  2896. packet\fR . The logical 
  2897. channel is then in the \fIready\fR state\ (p1).
  2898. .PP
  2899. The action taken by the DCE when the DTE does not confirm clearing
  2900. within time\(hyout T13 is given in Annex\ D.
  2901. .RT
  2902. .sp 1P
  2903. .LP
  2904. 4.1.9
  2905.     \fIClear collision\fR 
  2906. .sp 9p
  2907. .RT
  2908. .PP
  2909. Clear collision occurs when a DTE and DCE simultaneously transfer a \fIclear 
  2910. request\fR \|packet and a \fIclear indication\fR packet specifying the 
  2911. same 
  2912. logical channel. Under these circumstances the DCE will consider that the
  2913. clearing is completed. The DCE will not expect a \fIDTE clear confirmation\fR 
  2914. packet and will not transfer a \fIDCE clear confirmation\fR packet. This 
  2915. places the logical channel in the \fIready\fR state\ (p1). 
  2916. .RT
  2917. .sp 1P
  2918. .LP
  2919. 4.1.10
  2920.     \fIUnsuccessful call\fR 
  2921. .sp 9p
  2922. .RT
  2923. .PP
  2924. If a call cannot be established, the DCE will transfer a \fIclear\fR \fIindication\fR 
  2925. \|packet specifying the logical channel indicated in the \fIcall\fR 
  2926. \fIrequest\fR packet.
  2927. .RT
  2928. .sp 1P
  2929. .LP
  2930. 4.1.11
  2931.     \fICall progress signals\fR 
  2932. .sp 9p
  2933. .RT
  2934. .PP
  2935. The DCE will be capable of transferring to the DTE \fIclearing call\fR 
  2936. \fIprogress\fR \|signals as specified in Recommendation\ X.96. 
  2937. .PP
  2938. \fIClearing call progress\fR \|signals will be carried in \fIclear\fR 
  2939. \fIindication\fR \|packets which will terminate the call to which the packet 
  2940. refers. The method of coding \fIclear indication\fR packets containing 
  2941. \fIcall progress\fR 
  2942. signals is detailed in \(sc\ 5.2.3.
  2943. .RT
  2944. .sp 1P
  2945. .LP
  2946. 4.1.12
  2947.     \fIData transfer state\fR 
  2948. .sp 9p
  2949. .RT
  2950. .PP
  2951. The procedures for the control of packets between DTE and DCE while in 
  2952. the \fIdata transfer\fR \|state are contained in \(sc\ 4.3. 
  2953. .bp
  2954. .RT
  2955. .sp 1P
  2956. .LP
  2957. 4.2
  2958.     \fIProcedures for\fR 
  2959. \fIpermanent virtual circuit service\fR 
  2960. .sp 9p
  2961. .RT
  2962. .PP
  2963. Figures B\(hy1/X.25 and B\(hy3/X.25 show the state diagrams which give 
  2964. a definition of events at the packet layer DTE/DCE interface for logical 
  2965. channels assigned for 
  2966. permanent virtual circuits
  2967. .
  2968. .PP
  2969. Annex C gives details of the action taken by the DCE on receipt of
  2970. packets in each state shown in Annex\ B.
  2971. .PP
  2972. For permanent 
  2973. virtual circuits
  2974. there is no call set\(hyup or
  2975. clearing. The procedures for the control of packets between DTE and DCE 
  2976. while in the \fIdata transfer\fR state are contained in \(sc\ 4.3. 
  2977. .PP
  2978. If a momentary failure occurs within the network, the DCE will reset the 
  2979. permanent virtual circuit as described in \(sc\ 4.4.3, with the cause \*QNetwork 
  2980. congestion\*U, and then will continue to handle data traffic. 
  2981. .PP
  2982. If the network has a temporary inability to handle data traffic, the DCE 
  2983. will reset the permanent virtual circuit with the cause \*QNetwork out 
  2984. of 
  2985. order\*U. When the network is again able to handle data traffic, the DCE 
  2986. should reset the permanent virtual circuit with the cause \*QNetwork 
  2987. operational\*U.
  2988. .RT
  2989. .sp 1P
  2990. .LP
  2991. 4.3
  2992.     \fIProcedures for data and interrupt transfer\fR 
  2993. .sp 9p
  2994. .RT
  2995. .PP
  2996. The data transfer and interrupt procedures described in this
  2997. section apply independently to each logical channel assigned for virtual 
  2998. calls or permanent virtual circuits existing at the DTE/DCE interface. 
  2999. .PP
  3000. Normal network operation dictates that user data in \fIdata\fR \|and
  3001. \fIinterrupt\fR \|packets are all passed transparently, unaltered through the
  3002. network in the case of packet DTE to packet DTE communications. The order of
  3003. bits in \fIdata\fR and \fIinterrupt\fR packets is preserved. Packet sequences 
  3004. are 
  3005. delivered as complete packet sequences. DTE diagnostic codes are treated as
  3006. described in \(sc\(sc\ 5.2.4, 5.4.3 and 5.5.1.
  3007. .RT
  3008. .sp 1P
  3009. .LP
  3010. 4.3.1
  3011.     \fIStates for data transfer\fR 
  3012. .sp 9p
  3013. .RT
  3014. .PP
  3015. virtual call logical channel
  3016. is in the \fIdata transfer\fR \|state\ (p4) after completion of call establishment 
  3017. and prior to a clearing or a restart procedure. A 
  3018. permanent virtual circuit logical channel
  3019. is
  3020. continually in the \fIdata transfer\fR state\ (p4) except during the restart
  3021. procedure. \fIData\fR , \fIinterrupt\fR , \fIflow control\fR and \fIreset\fR 
  3022. packets may be 
  3023. transmitted and received by a DTE in the \fIdata transfer\fR state of a logical
  3024. channel at the DTE/DCE interface. In this state, the flow control and reset
  3025. procedures described in \(sc\ 4.4 apply to data transmission on that logical
  3026. channel to and from the DTE.
  3027. .PP
  3028. When a virtual call is cleared, \fIdata\fR \|and \fIinterrupt\fR \|packets 
  3029. may be discarded by the network (see \(sc\ 4.5). In addition, \fIdata\fR 
  3030. , \fIinterrupt\fR , 
  3031. \fIflow control\fR and \fIreset\fR packets transmitted by a DTE will be 
  3032. ignored by the DCE when the logical channel is in the \fIDCE clear indication\fR 
  3033. state\ (p7). 
  3034. Hence it is left to the DTE to define DTE to DTE protocols able to cope with
  3035. the various possible situations that may occur.
  3036. .RT
  3037. .sp 1P
  3038. .LP
  3039. 4.3.2
  3040.     \fIUser data field length of data packets\fR 
  3041. .sp 9p
  3042. .RT
  3043. .PP
  3044. The standard maximum user data field length is
  3045. 128\ octets.
  3046. .PP
  3047. In addition, other maximum user data field lengths may be offered by Administrations 
  3048. from the following list: 16, 32, 64, 256, 512, 1024, 2048 
  3049. and\ 4096\ octets. An optional maximum user data field length may be selected 
  3050. for a period of time as the default maximum user data field length common 
  3051. to all 
  3052. virtual calls at the DTE/DCE interface (see \(sc\ 6.9). A value other than the
  3053. default may be selected for a period of time for each permanent virtual 
  3054. circuit (see \(sc\ 6.9). Negotiation of maximum user data field lengths 
  3055. on a per call basis may be made with the \fIflow control parameter negotiation\fR 
  3056. facility (see 
  3057. \(sc\ 6.12).
  3058. .PP
  3059. The user data field of \fIdata\fR \|packets transmitted by a DTE or DCE 
  3060. may contain any number of bits up to the agreed maximum. 
  3061. .PP
  3062. \fINote\fR \ \(em\ Some networks require the user data field to contain an
  3063. integral number of octets (see the note in \(sc\ 3).
  3064. .bp
  3065. .PP
  3066. If the user data field in a \fIdata\fR \|packet exceeds the locally
  3067. permitted maximum user data field length, then the DCE will reset the virtual 
  3068. call or permanent virtual circuit with the resetting cause \*QLocal procedure 
  3069. error\*U.
  3070. .RT
  3071. .sp 1P
  3072. .LP
  3073. 4.3.3
  3074.     \fIDelivery Confirmation bit\fR 
  3075. .sp 9p
  3076. .RT
  3077. .PP
  3078. The setting of the Delivery Confirmation bit (
  3079. D\ bit
  3080. ) is
  3081. used to indicate whether or not the DTE wishes to receive an end\(hyto\(hyend
  3082. acknowledgement of delivery, for data it is transmitting, by means of the
  3083. packet receive sequence number\ P(R) (see \(sc\ 4.4).
  3084. .PP
  3085. \fINote\fR \ \(em\ The use of the 
  3086. D bit procedure
  3087. does not obviate the need for a higher layer protocol agreed between the 
  3088. communicating DTEs which 
  3089. may be used with or without the D\ bit procedure to recover from user or 
  3090. network generated resets and clearings. 
  3091. .PP
  3092. The calling DTE may, during call establishment, ascertain that the
  3093. D\ bit procedure can be used for the call by setting bit\ 7 in the General 
  3094. Format Identifier of the \fIcall request\fR packet to\ 1 (see \(sc\ 5.1.1). 
  3095. Every network or 
  3096. part of the international network will pass this bit transparently. If the
  3097. remote DTE is able to handle the D\ bit procedure, it should not regard 
  3098. this bit being set to\ 1 in the \fIincoming call\fR packet as invalid. 
  3099. .PP
  3100. Similarly, the called DTE can set bit\ 7 in the General Format
  3101. Identifier of the \fIcall accepted\fR \|packet to\ 1. Every network or 
  3102. part of the 
  3103. international network will pass this bit transparently. If the calling 
  3104. DTE is able to handle the D\ bit procedure, it should not regard this bit 
  3105. being set 
  3106. to\ 1 in the \fIcall connected\fR packet as invalid.
  3107. .PP
  3108. The use by DTEs of the above mechanism in the \fIcall request\fR \|and
  3109. \fIcall accepted\fR \|packets is recommended but is not mandatory for using the
  3110. D\ bit procedure during the virtual call.
  3111. .RT
  3112. .sp 1P
  3113. .LP
  3114. 4.3.4
  3115.     \fIMore Data mark\fR 
  3116. .sp 9p
  3117. .RT
  3118. .PP
  3119. If a DTE or DCE wishes to indicate a sequence of more than one
  3120. packet, it uses a more data mark (M\ bit) as defined below.
  3121. .PP
  3122. The 
  3123. M bit
  3124. can be set to 1 in any \fIdata\fR \|packet. When it is
  3125. set to\ 1 in a full \fIdata\fR \|packet or in a partially full \fIdata\fR 
  3126. packet also 
  3127. carrying the D\ bit set to\ 1, it indicates that more data is to follow.
  3128. Recombination with the following \fIdata\fR packet may only be performed within
  3129. the network when the M\ bit is set to\ 1 in a full \fIdata\fR packet which 
  3130. also has the D\ bit set to\ 0. 
  3131. .PP
  3132. A sequence of \fIdata\fR \|packets with every M\ bit set to 1 except for 
  3133. the last one will be delivered as a sequence of \fIdata\fR packets with 
  3134. the M\ bit set to 1 except for the last one when the original packets having 
  3135. the M\ bit set to 1 are either full (irrespective of the setting of the 
  3136. D\ bit) or partially full but have the D\ bit set to 1. 
  3137. .PP
  3138. Two categories of \fIdata\fR \|packets, A and B, have been defined as shown 
  3139. in Table\ 15/X.25. Table\ 15/X.25 also illustrates the network's treatment 
  3140. of the M\ and D\ bits at both ends of a virtual call or permanent virtual 
  3141. circuit.
  3142. .RT
  3143. .sp 1P
  3144. .LP
  3145. 4.3.5
  3146.     \fIComplete packet sequence\fR 
  3147. .sp 9p
  3148. .RT
  3149. .PP
  3150. A complete packet sequence is defined as being composed of a single \fIcategory\ 
  3151. B\fR \|packet and all contiguous preceding \fIcategory\ A\fR packets (if 
  3152. any). \fICategory\ A\fR packets have the exact maximum user data field 
  3153. length with the M\ bit set to\ 1 and the D\ bit set to\ 0. All other \fIdata\fR 
  3154. packets are 
  3155. \fIcategory\ B\fR packets.
  3156. .PP
  3157. When transmitted by a source DTE, a complete packet sequence is
  3158. always delivered to the destination DTE as a single complete packet
  3159. sequence.
  3160. .PP
  3161. Thus, if the receiving end has a larger maximum user data field length 
  3162. than the transmitting end, then packets within a complete packet sequence 
  3163. will be combined within the network. They will be delivered in a complete 
  3164. packet 
  3165. sequence where each packet, except the last one, has the exact maximum user
  3166. data field length, the M\ bit set to\ 1, and the D\ bit set to\ 0. The 
  3167. user data 
  3168. field of the last packet of the sequence may have less than the maximum 
  3169. length and the M and D\ bits are set as described in Table\ 15/X.25. 
  3170. .bp
  3171. .RT
  3172. .ce
  3173. \fBH.T. [T13.25]\fR 
  3174. .ce
  3175. TABLEAU\ 15/X.25
  3176. .ce
  3177. \fBDefinition of two categories of data packets and network treatment
  3178. .ce
  3179. of the M and D bits\fR 
  3180. .T&
  3181. lw(30p) | lw(30p) | lw(18p) | lw(30p) | lw(60p) | lw(30p) | lw(30p) .
  3182.                         
  3183. .T&
  3184. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3185. B    0 or 1    0    No    No    0  (see Note 1)    0
  3186. _
  3187. .T&
  3188. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3189. B    0    1    No    No    0    1
  3190. _
  3191. .T&
  3192. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3193. B    1    1    No    No    1    1
  3194. _
  3195. .T&
  3196. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3197. B    0    0    Yes    No    0    0
  3198. _
  3199. .T&
  3200. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3201. B    0    1    Yes    No    0    1
  3202. _
  3203. .T&
  3204. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3205. A    1    0    Yes    Yes (see Note 2)    1    0
  3206. _
  3207. .T&
  3208. cw(30p) | cw(30p) | cw(18p) | cw(30p) | cw(60p) | cw(30p) | cw(30p) .
  3209. B    1    1    Yes    No    1    T{
  3210. 1
  3211. \ua\d\u)\d
  3212. Refers to the delivered \fIdata\fR
  3213. \| packet whose last bit of user data corresponds to the last bit of user 
  3214. data, if any, that was present in the 
  3215. \fIdata\fR
  3216. packet sent by the source DTE.
  3217. .parag
  3218. \fINote\ 1\fR
  3219. \ \(em\ The originating network will force the M bit to 0.
  3220. .parag
  3221. \fINote\ 2\fR
  3222. \ \(em\ If the \fIdata\fR
  3223.  packet sent by the source DTE is combined with other packets, up to and 
  3224. including a \fIcategory B\fR 
  3225. \| packet, the M and D bit settings in the \fIdata\fR
  3226.  packet received by the destination DTE will be according to that given 
  3227. in the two right hand columns for the last \fIdata\fR 
  3228. packet sent by the
  3229. source DTE that was part of the combination.
  3230. .parag
  3231. T}
  3232. _
  3233. .TE
  3234. .nr PS 9
  3235. .RT
  3236. .ad r
  3237. \fBTable 15/X.25 [T13.25], p.\fR 
  3238. .sp 1P
  3239. .RT
  3240. .ad b
  3241. .RT
  3242. .LP
  3243. .sp 3
  3244. .PP
  3245. If the maximum user data field length is the same at both ends, then
  3246. user data fields of \fIdata\fR packets are delivered to the receiving DTE 
  3247. exactly as they have been received by the network, except as follows. If 
  3248. a full packet with the M\ bit set to\ 1 and D\ bit set to\ 0 is followed 
  3249. by an empty packet, then the two packets may be merged so as to become 
  3250. a single \fIcategory\ B\fR full 
  3251. packet. If the last packet of a complete packet sequence transmitted by the
  3252. source DTE has a data field less than the maximum length, the M\ bit set to 1
  3253. and the D\ bit set to\ 0, then the last packet of the complete packet sequence
  3254. delivered to the receiving DTE will have the M\ bit 
  3255. set\ to\ 0.
  3256. .PP
  3257. If the receiving end has a smaller maximum user data field length than 
  3258. the transmitting end, the packets will be segmented within the network, 
  3259. and the M and D\ bits will be set by the network as described to maintain 
  3260. complete 
  3261. packet sequences.
  3262. .RT
  3263. .sp 1P
  3264. .LP
  3265. 4.3.6
  3266.     \fIQualifier bit\fR 
  3267. .sp 9p
  3268. .RT
  3269. .PP
  3270. In some cases, an indicator may be needed with the user data field to distinguish 
  3271. between two types of information. It may be necessary to 
  3272. differentiate, for example, between user data and control information. An
  3273. example of such a case is contained in Recommendation\ X.29.
  3274. .PP
  3275. If such a mechanism is needed, an indicator in the data packet
  3276. header called the Qualifier bit (Q\ bit) may be used.
  3277. .bp
  3278. .PP
  3279. The use of the 
  3280. Q\ bit
  3281. is optional. If this mechanism is not
  3282. needed, the Q\ bit is always set to\ 0. If the Q\ bit mechanism is used, the
  3283. transmitting DTE should set the Q\ bit so as to have the same value (i.e.\ 0
  3284. or\ 1) in all \fIdata\fR packets of the same complete packet sequence. 
  3285. A complete 
  3286. packet sequence transferred by the DTE to the DCE in this fashion will be
  3287. delivered to the distant DTE as a complete packet sequence having the Q\ 
  3288. bit set in all packets to the value assigned by the transmitting DTE. 
  3289. .PP
  3290. If the Q\ bit is not set by the DTE to the same value in all the \fIdata\fR 
  3291. \|packets of a complete packet sequence, the value of the Q\ bit in any 
  3292. of the 
  3293. \fIdata\fR packets of the corresponding packet sequence transferred to 
  3294. the distant DTE is not guaranteed by the network. Moreover, some networks 
  3295. may reset 
  3296. the virtual call or permanent virtual circuit as described in
  3297. Annex\ C/X.25.
  3298. .PP
  3299. Successive \fIdata\fR \| packets are numbered consecutively (see \(sc\ 
  3300. 4.4.1.1) regardless of the value of the Q\ bit. 
  3301. .RT
  3302. .sp 1P
  3303. .LP
  3304. 4.3.7
  3305.     \fIInterrupt procedure\fR 
  3306. .sp 9p
  3307. .RT
  3308. .PP
  3309. The interrupt procedure allows a DTE to transmit data to the
  3310. remote DTE, without following the flow control procedure applying to \fIdata\fR 
  3311. packets (see \(sc\ 4.4). The interrupt procedure can only apply in the 
  3312. \fIflow\fR 
  3313. \fIcontrol ready\fR state\ (d1) within the \fIdata transfer\fR state\ (p4).
  3314. .PP
  3315. The interrupt procedure has no effect on the transfer and flow control 
  3316. procedures applying to the \fIdata\fR packets on the virtual call or permanent 
  3317. virtual circuit.
  3318. .PP
  3319. To transmit an interrupt, a DTE transfers across the DTE/DCE interface 
  3320. a \fIDTE interrupt\fR \|packet. The DTE should not transmit a second \fIDTE 
  3321. interrupt\fR packet until the first one is confirmed with a \fIDCE interrupt 
  3322. confirmation\fR 
  3323. packet (see Table\ C\(hy4/X.25). The DCE, after the interrupt procedure is
  3324. completed at the remote end, will confirm the receipt of the interrupt by
  3325. transferring a \fIDCE interrupt confirmation\fR packet. The receipt of 
  3326. a \fIDCE\fR 
  3327. \fIinterrupt confirmation\fR packet indicates that the interrupt has been 
  3328. confirmed by the remote DTE by means of a \fIDTE interrupt confirmation\fR 
  3329. packet. 
  3330. .PP
  3331. The DCE indicates an interrupt from the remote DTE by transferring
  3332. across the DTE/DCE interface a \fIDCE interrupt\fR packet containing the 
  3333. same data field as in the \fIDTE interrupt\fR packet transmitted by the 
  3334. remote DTE. A \fIDCE\fR \fIinterrupt\fR packet is delivered at or before 
  3335. the point in the stream of \fIdata\fR packets at which the \fIDTE interrupt\fR 
  3336. packet was generated. The DTE will confirm the receipt of the \fIDCE interrupt\fR 
  3337. packet by transferring a \fIDTE interrupt\fR 
  3338. \fIconfirmation\fR packet.
  3339. .RT
  3340. .sp 1P
  3341. .LP
  3342. 4.3.8
  3343.     \fITransit delay\fR \fIof data packets\fR 
  3344. .sp 9p
  3345. .RT
  3346. .PP
  3347. Transit delay
  3348. is an inherent characteristic of a virtual
  3349. call or a permanent virtual circuit, common to the two directions of
  3350. transmission.
  3351. .PP
  3352. This transit delay is the \fIdata\fR \| packet transfer delay as defined 
  3353. in \(sc\ 3.1/X.135, measured between boundaries\ B\d2\uand B\fI\fI\d\fIn\fR\\d\\u(em\d1\u, 
  3354. as defined in Figure\ 2/X.135 (that means, excluding the access lines), 
  3355. with the conditions given in \(sc\ 3.2/X.135, and is expressed in terms 
  3356. of a mean value. 
  3357. .PP
  3358. Selection of transit delay on a per call basis, and indication to both 
  3359. the calling and called DTEs of the value of transit delay applying for 
  3360. a given virtual call, may be made by the means of the \fItransit delay 
  3361. selection and\fR 
  3362. \fIindication\fR facility (see \(sc\ 6.27).
  3363. .RT
  3364. .sp 1P
  3365. .LP
  3366. 4.4
  3367.     \fIProcedures for flow control\fR 
  3368. .sp 9p
  3369. .RT
  3370. .PP
  3371. Paragraph\ 4.4 only applies to the \fIdata transfer\fR \|state (p4) and 
  3372. specifies the procedures covering flow control of \fIdata\fR packets and 
  3373. reset on each logical channel used for a virtual call or a permanent virtual 
  3374. circuit.
  3375. .RT
  3376. .sp 1P
  3377. .LP
  3378. 4.4.1
  3379.     \fIFlow control\fR 
  3380. .sp 9p
  3381. .RT
  3382. .PP
  3383. At the DTE/DCE interface of a logical channel used for a virtual
  3384. call or permanent virtual circuit, the transmission of \fIdata\fR packets is
  3385. controlled separately for each direction and is based on authorizations from
  3386. the receiver.
  3387. .PP
  3388. On a virtual call or permanent virtual circuit, flow control also
  3389. allows a DTE to limit the rate at which it accepts packets across the DTE/DCE 
  3390. interface, noting that there is a network\(hydependent limit on the number 
  3391. of 
  3392. \fIdata\fR packets which may be in the network on the virtual call or permanent
  3393. virtual circuit.
  3394. .bp
  3395. .RT
  3396. .sp 1P
  3397. .LP
  3398. 4.4.1.1
  3399.     \fINumbering of data packets\fR 
  3400. .sp 9p
  3401. .RT
  3402. .PP
  3403. Each \fIdata\fR \|packet transmitted at the DTE/DCE interface for each 
  3404. direction of transmission in a virtual call or permanent virtual circuit 
  3405. is 
  3406. sequentially numbered.
  3407. .PP
  3408. The sequence numbering scheme of the packets is performed modulo\ 8.
  3409. The packet sequence numbers cycle through the entire range\ 0 to\ 7. Some
  3410. Administrations will provide the \fIextended packet sequence numbering\fR 
  3411. facility (see \(sc\ 6.2) which, if selected, provides a sequence numbering 
  3412. scheme for 
  3413. packets being performed modulo\ 128. In this case, packet sequence numbers 
  3414. cycle through the entire range\ 0 to\ 127. The packet sequence numbering 
  3415. scheme, 
  3416. modulo\ 8 or\ 128, is the same for both directions of transmission and 
  3417. is common for all logical channels at the DTE/DCE interface. 
  3418. .PP
  3419. Only \fIdata\fR \|packets contain this sequence number called the
  3420. packet send sequence number P(S)
  3421. .
  3422. .PP
  3423. The first \fIdata\fR \|packet to be transmitted across the DTE/DCE
  3424. interface for a given direction of data transmission, when the logical 
  3425. channel has just entered the \fIflow control ready\fR state (d1), has a 
  3426. packet send 
  3427. sequence number equal to\ 0.
  3428. .RT
  3429. .sp 1P
  3430. .LP
  3431. 4.4.1.2
  3432.     \fIWindow description\fR 
  3433. .sp 9p
  3434. .RT
  3435. .PP
  3436. At the DTE/DCE interface, a window is defined for each direction of data 
  3437. transmission of a logical channel used for a virtual call or permanent 
  3438. virtual circuit. The window is the ordered set of W consecutive packet send
  3439. sequence numbers of the \fIdata\fR packets authorized to cross the
  3440. interface.
  3441. .PP
  3442. The lowest sequence number in the window is referred to as the
  3443. lower window edge
  3444. . When a virtual call or permanent virtual circuit at the DTE/DCE interface 
  3445. has just entered the \fIflow control ready\fR state (d1), the window related 
  3446. to each direction of data transmission has a lower window edge equal to\ 
  3447. 0. 
  3448. .PP
  3449. The packet send sequence number of the first \fIdata\fR \|packet not
  3450. authorized to cross the interface is the value of the lower window edge 
  3451. plus W (modulo\ 8, or 128\ when extended). 
  3452. .PP
  3453. The standard window size W is 2 for each direction of data
  3454. transmission at the DTE/DCE interface. In addition, other window sizes 
  3455. may be offered by Administrations. An optional 
  3456. window size
  3457. may be selected for a period of time as the default window size common 
  3458. to all virtual calls at the DTE/DCE interface (see \(sc\ 6.10). A value 
  3459. other than the default may be selected for a period of time for each permanent 
  3460. virtual circuit (see \(sc\ 6.10). 
  3461. Negotiation of window sizes
  3462. on a per call basis may be made with the
  3463. \fIflow control parameter negotiation\fR facility (see \(sc\ 6.12).
  3464. .RT
  3465. .sp 1P
  3466. .LP
  3467. 4.4.1.3
  3468.     \fIFlow control principles\fR 
  3469. .sp 9p
  3470. .RT
  3471. .PP
  3472. When the sequence number P(S) of the next \fIdata\fR \|packet to be
  3473. transmitted by the DCE is within the window, the DCE is authorized to transmit 
  3474. this \fIdata\fR packet to the DTE. When the sequence number\ P(S) of the 
  3475. next data packet to be transmitted by the DCE is outside of the window, 
  3476. the DCE will not transmit a \fIdata\fR packet to the DTE. The DTE should 
  3477. follow the same 
  3478. procedure.
  3479. .PP
  3480. When the sequence number P(S) of the \fIdata\fR \|packet received by the
  3481. DCE is the next in sequence and is within the window, the DCE will accept 
  3482. this \fIdata\fR packet. A received \fIdata\fR packet containing a P(S) 
  3483. that is out of 
  3484. sequence (i.e.,\ there is a duplicate or a gap in the P(S) numbering), 
  3485. outside the window, or not equal to\ 0 for the first \fIdata\fR packet 
  3486. after entering the 
  3487. \fIflow control ready\fR state\ (d1) is considered by the DCE as a local 
  3488. procedure error. The DCE will reset the virtual call or permanent virtual 
  3489. circuit (see 
  3490. \(sc\ 4.4.3). The DTE should follow the same procedure.
  3491. .PP
  3492. A number (modulo 8, or 128 when extended), referred to as a 
  3493. packet receive sequence number P(R)
  3494. , conveys across the DTE/DCE interface
  3495. information from the receiver for the transmission of \fIdata\fR packets. When
  3496. transmitted across the DTE/DCE interface, a\ P(R) becomes the lower window 
  3497. edge. In this way, additional \fIdata\fR packets may be authorized by the 
  3498. receiver to 
  3499. cross the DTE/DCE interface.
  3500. .PP
  3501. The packet receive sequence number, P(R), is conveyed in \fIdata\fR ,
  3502. \fIreceive ready\fR \|(RR) and \fIreceive not ready\fR (RNR) packets.
  3503. .bp
  3504. .PP
  3505. The value of a P(R) received by the DCE must be within the range from the 
  3506. last P(R) received by the DCE up to and including the packet send sequence 
  3507. number of the next \fIdata\fR packet to be transmitted by the DCE. Otherwise, 
  3508. the DCE will consider the receipt of this P(R) as a procedure error and 
  3509. will reset the virtual call or permanent virtual circuit. The DTE should 
  3510. follow the same procedure. 
  3511. .PP
  3512. The receive sequence number P(R) is less than or equal to the sequence 
  3513. number of the next expected \fIdata\fR packet and implies that the DTE 
  3514. or DCE 
  3515. transmitting P(R) has accepted at least all \fIdata\fR packets numbered 
  3516. up to and including P(R)\ \(em\ 1. 
  3517. .RT
  3518. .sp 1P
  3519. .LP
  3520. 4.4.1.4
  3521.     \fIDelivery confirmation\fR 
  3522. .sp 9p
  3523. .RT
  3524. .PP
  3525. When the D\ bit is set to 0 in a \fIdata\fR \|packet having P(S) = p, the 
  3526. significance of the returned P(R) corresponding to that \fIdata\fR packet 
  3527. [i.e.,\ P(R)\ \(>="\ p\ +\ 1] is a 
  3528. local updating of the window
  3529. across the
  3530. packet level interface so that the achievable throughput is not constrained 
  3531. by the DTE to DTE round trip delay across the network(s). 
  3532. .PP
  3533. When the D\ bit is set to 0 in a \fIdata\fR \|packet, the returned P(R)
  3534. corresponding to that \fIdata\fR \|packet does not signify that a P(R) has been
  3535. received from the remote DTE.
  3536. .PP
  3537. When the D\ bit is set to 1 in a \fIdata\fR \|packet having P(S)\ =\ p, the
  3538. significance of the returned P(R) corresponding to that \fIdata\fR packet
  3539. [i.e.\ P(R)\ \(>="\ p\ +\ 1] is an indication that a\ P(R) has been received 
  3540. from the 
  3541. remote DTE for all data bits in the \fIdata\fR packet in which the D\ bit had
  3542. originally been set to\ 1.
  3543. .PP
  3544. \fINote\ 1\fR \ \(em\ A DTE, on receiving a \fIdata\fR \|packet with the 
  3545. D\ bit set 
  3546. to\ 1, should transmit the corresponding P(R) as soon as possible in order to
  3547. avoid the possibility of deadlocks (e.g.\ without waiting for further \fIdata\fR 
  3548. packets). A \fIdata\fR , \fIRR\fR or \fIRNR\fR packet may be used to convey 
  3549. the P(R) (see 
  3550. Note to \(sc\ 4.4.1.6). Likewise, the DCE is required to send P(R) to the 
  3551. DTE as 
  3552. soon as possible from when the P(R) is received from the remote DTE. When 
  3553. the DTE is not currently operating the D\ bit procedure, the receipt of 
  3554. a \fIdata\fR 
  3555. packet with the D\ bit set to\ 1 may be treated by the DTE as an error
  3556. condition.
  3557. .PP
  3558. \fINote\ 2\fR \ \(em\ If a P(R) for a \fIdata\fR \|packet with the D\ bit 
  3559. set to 1 is outstanding, local updating of the window will be deferred 
  3560. for subsequent 
  3561. \fIdata\fR packets with the D\ bit set to\ 0. Some networks may also defer 
  3562. updating the window for previous \fIdata\fR packets (within the window) 
  3563. with the D\ bit set to 0 until the corresponding P(R) for the packet with 
  3564. the outstanding D\ bit set to 1 is transmitted to the DTE. 
  3565. .PP
  3566. \fINote\ 3\fR \ \(em\ P(R) values corresponding to the data contained in 
  3567. \fIdata\fR \|packets with the D\ bit set to\ 1 need not be the same at 
  3568. the DTE/DCE interfaces at each end of a virtual call or a permanent virtual 
  3569. circuit. 
  3570. .PP
  3571. \fINote\ 4\fR \ \(em\ If the DTE has sent \fIdata\fR \|packets with the 
  3572. D\ bit set 
  3573. to\ 0, the DTE does not have to wait for local updating of the window by 
  3574. the DCE before initiating a resetting or clearing procedure. 
  3575. .RT
  3576. .sp 1P
  3577. .LP
  3578. 4.4.1.5
  3579.     \fIDTE and DCE receive ready (RR) packets\fR 
  3580. .sp 9p
  3581. .RT
  3582. .PP
  3583. \fIRR\fR \|packets are used by the DTE or DCE to indicate that it is
  3584. ready to receive the W\ \fIdata\fR \|packets within the window starting 
  3585. with P(R), 
  3586. where P(R) is indicated in the \fIRR\fR \ packet.
  3587. .RT
  3588. .sp 1P
  3589. .LP
  3590. 4.4.1.6
  3591.     \fIDTE and DCE receive not ready (RNR) packets\fR 
  3592. .sp 9p
  3593. .RT
  3594. .PP
  3595. \fIRNR\fR \|packets are used by the DTE or DCE to indicate a temporary 
  3596. inability to accept additional \fIdata\fR packets for a given virtual call 
  3597. or 
  3598. permanent virtual circuit. A DTE or DCE receiving an \fIRNR\fR packet shall 
  3599. stop 
  3600. transmitting \fIdata\fR packets on the indicated logical channel, but the 
  3601. window is updated by the P(R) value of the \fIRNR\fR packet. The receive 
  3602. not ready situation indicated by the transmission of an \fIRNR\fR packet 
  3603. is cleared by the transmission in the same direction of an \fIRR\fR packet 
  3604. or by the initiation of a reset 
  3605. procedure.
  3606. .PP
  3607. The transmission of an \fIRR\fR \|packet after an \fIRNR\fR \| packet at the
  3608. packet level is not to be taken as a demand for retransmission of packets 
  3609. which have already been transmitted. 
  3610. .PP
  3611. \fINote\fR \ \(em\ The \fIRNR\fR \|packet may be used to convey across 
  3612. the DTE/DCE 
  3613. interface the P(R) value corresponding to a \fIdata\fR packet which had 
  3614. the D\ bit set to\ 1 in the case that additional \fIdata\fR packets cannot 
  3615. be 
  3616. accepted.
  3617. .bp
  3618. .RT
  3619. .sp 1P
  3620. .LP
  3621. 4.4.2
  3622.     \fIThroughput characteristics\fR \fIand\fR 
  3623. \fIthroughput\fR 
  3624. \fIclasses\fR 
  3625. .sp 9p
  3626. .RT
  3627. .PP
  3628. The definitions of throughput and steady state throughput are given in 
  3629. \(sc\ 4 of Recommendation\ X.135. 
  3630. .PP
  3631. A throughput class for one direction of transmission is an inherent
  3632. characteristic of the virtual call or permanent virtual circuit related 
  3633. to the amount of resources allocated to this virtual call or permanent 
  3634. virtual 
  3635. circuit. It is a measure of the steady state throughput that can be provided
  3636. under optimal conditions on a virtual call or permanent virtual circuit.
  3637. However, due to the statistical sharing of transmission and switching
  3638. resources, it is not guaranteed that the throughput class can be reached 
  3639. 100% of the time. 
  3640. .PP
  3641. The relations between throughput class and the throughput parameters and 
  3642. objectives described in Recommendation\ X.135 require further study. The 
  3643. complete definition of the optimal conditions where the measure of the 
  3644. steady state throughput in relation to throughput class is meaningful also 
  3645. requires 
  3646. further study. Pending the results of these further studies, it cannot be
  3647. guaranteed or verified that a network supporting a given throughput class
  3648. value (64\ kbit/s for instance) offers better performance to its users than a
  3649. network not supporting that throughput class. However, a network may offer a
  3650. guarantee to its users on a contribution basis.
  3651. .PP
  3652. The optimal conditions for measurement include the
  3653. following:
  3654. .RT
  3655. .LP
  3656.     1)
  3657.     the access line characteristics of the local and remote
  3658. DTEs do not constrain the throughput class;
  3659. .LP
  3660.      \fINote\fR \ \(em\ In particular, because of the overhead due to the 
  3661. frame and packet headers, when the throughput class corresponding to the 
  3662. user class of service of the DTE is applicable to a virtual call or permanent 
  3663. virtual 
  3664. circuit, a steady state throughput equal to that throughput class can never 
  3665. be reached. 
  3666. .LP
  3667.     2)
  3668.      the window sizes at the local and remote DTE/DCE interfaces do not constrain 
  3669. the throughput; 
  3670. .LP
  3671.     3)
  3672.     the traffic characteristics of other logical channels at
  3673. local and remote DTE/DCE interfaces do not constrain the throughput;
  3674. .LP
  3675.     4)
  3676.      the receiving DTE is not flow controlling the DCE such that the throughput 
  3677. class is not attainable; 
  3678. .LP
  3679.     5)
  3680.      the transmitting DTE sends only \fIdata\fR \|packets which have the maximum 
  3681. data field length; 
  3682. .LP
  3683.     6)
  3684.     the D bit is not set to 1.
  3685. .PP
  3686. The throughput class is expressed in bits per second. The maximum data 
  3687. field length is specified for a virtual call or permanent virtual circuit, 
  3688. and thus the throughput class can be interpreted by the DTE as the number 
  3689. of 
  3690. full \fIdata\fR packets/second that the DTE/DCE interface.
  3691. .PP
  3692. In the absence of the \fIdefault throughput classes assignment\fR 
  3693. \|facility (see \(sc\ 6.11), the default throughput classes for both directions 
  3694. of transmission correspond to the user class of service of the DTE (see 
  3695. \(sc\ 7.2.2.2) but do not exceed the maximum throughput class supported 
  3696. by the network. 
  3697. Negotiation of throughput classes on a per call basis may be made with the
  3698. \fIthroughput class negotiation\fR \|facility (see \(sc\ 6.13).
  3699. .PP
  3700. \fINote\fR \ \(em\ The sum of the throughput classes of all virtual calls and
  3701. permanent virtual circuits supported at a DTE/DCE interface may be greater 
  3702. than the data transmission rate of the access line. 
  3703. .RT
  3704. .sp 1P
  3705. .LP
  3706. 4.4.3
  3707.     \fIProcedure for reset\fR 
  3708. .sp 9p
  3709. .RT
  3710. .PP
  3711. The reset procedure is used to reinitialize the virtual call or
  3712. permanent virtual circuit and in so doing removes in each direction all 
  3713. \fIdata\fR and \fIinterrupt\fR packets which may be in the network (see 
  3714. \(sc\ 4.5). When a virtual call or permanent virtual circuit at the DTE/DCE 
  3715. interface has just been reset, the window related to each direction of 
  3716. data transmission has a lower window 
  3717. edge equal to\ 0, and the numbering of subsequent \fIdata\fR packets to 
  3718. cross the 
  3719. DTE/DCE interface for each direction of data transmission shall start
  3720. from\ 0.
  3721. .PP
  3722. The reset procedure can only apply in the \fIdata transfer\fR \|state (p4) 
  3723. of the DTE/DCE interface. In any other state of the DTE/DCE interface, 
  3724. the 
  3725. reset procedure is abandoned. For example, when a clearing or restarting
  3726. procedure is initiated, \fIreset request\fR and \fIreset indication\fR 
  3727. packets can be left unconfirmed. 
  3728. .bp
  3729. .PP
  3730. For flow control, there are three states d1, d2 and d3 within the
  3731. \fIdata transfer\fR \|state\ (p4). There are \fIflow control ready\fR \ 
  3732. (d1), \fIDTE reset\fR \fIrequest\fR \ (d2), and \fIDCE reset indication\fR 
  3733. \ (d3) as shown in the state diagram in Figure\ B\(hy3/X.25. When entering 
  3734. state p4, the logical channel is placed in 
  3735. state d1. Table\ C\(hy4/X.25 specifies actions taken by the DCE on the 
  3736. receipt of packets from the DTE. 
  3737. .RT
  3738. .sp 1P
  3739. .LP
  3740. 4.4.3.1
  3741.     \fIReset request\fR \fIpacket\fR 
  3742. .sp 9p
  3743. .RT
  3744. .PP
  3745. The DTE shall indicate a request for reset by transmitting a
  3746. \fIreset request\fR \|packet specifying the logical channel to be reset. 
  3747. This places the logical channel in the \fIDTE reset request\fR state\ (d2). 
  3748. .RT
  3749. .sp 1P
  3750. .LP
  3751. 4.4.3.2
  3752.     \fIReset indication\fR \fIpacket\fR 
  3753. .sp 9p
  3754. .RT
  3755. .PP
  3756. The DCE will indicate a reset by transmitting to the DTE a \fIreset\fR 
  3757. \fIindication\fR \|packet specifying the logical channel being reset and 
  3758. the reason for the resetting. This places the logical channel in the \fIDCE 
  3759. reset\fR 
  3760. \fIindication\fR state\ (d3). In this state, the DCE will ignore \fIdata\fR ,
  3761. \fIinterrupt\fR , \fIRR\fR and \fIRNR\fR packets.
  3762. .RT
  3763. .sp 1P
  3764. .LP
  3765. 4.4.3.3
  3766.     \fIReset collision\fR 
  3767. .sp 9p
  3768. .RT
  3769. .PP
  3770. Reset collision occurs when a DTE and a DCE simultaneously transmit a \fIreset 
  3771. request\fR \|packet and a \fIreset indication\fR packet specifying the 
  3772. same logical channel. Under these circumstances the DCE will consider that 
  3773. the reset is completed. The DCE will not expect a \fIDTE reset confirmation\fR 
  3774. packet and 
  3775. will not transfer a \fIDCE reset confirmation\fR packet. This places the 
  3776. logical 
  3777. channel in the \fIflow control ready\fR state\ (d1).
  3778. .RT
  3779. .sp 1P
  3780. .LP
  3781. 4.4.3.4
  3782.     \fIReset confirmation\fR \fIpackets\fR 
  3783. .sp 9p
  3784. .RT
  3785. .PP
  3786. When the logical channel is in the \fIDTE reset request\fR \|state (d2), 
  3787. the DCE will confirm reset by transmitting to the DTE a \fIDCE reset\fR 
  3788. \fIconfirmation\fR packet. This places the logical channel in the \fIflow 
  3789. control\fR \fIready\fR state\ (d1). 
  3790. .PP
  3791. The \fIDCE reset confirmation\fR \|packet can only be interpreted
  3792. universally as having local significance; however, within some Administrations' 
  3793. networks, \fIreset confirmation\fR may have end\(hyto\(hyend significance. 
  3794. In all cases the time spent in the \fIDTE reset request\fR state\ (d2) 
  3795. will not exceed 
  3796. time\(hylimit\ T22 (see Annex\ D).
  3797. .PP
  3798. When the logical channel is in the \fIDCE reset indication\fR \|state (d3), 
  3799. the DTE will confirm reset by transmitting to the DCE a \fIDTE reset\fR 
  3800. \fIconfirmation\fR packet. This places the logical channel in the \fIflow 
  3801. control\fR \fIready\fR state (d1). The action taken by the DCE when the 
  3802. DTE does not confirm the reset within time\(hyout T12 is given in Annex\ 
  3803. D. 
  3804. .RT
  3805. .sp 1P
  3806. .LP
  3807. 4.5
  3808.     \fIEffects of clear, reset and restart procedures on the transfer\fR 
  3809. \fIof packets\fR 
  3810. .sp 9p
  3811. .RT
  3812. .PP
  3813. All \fIdata\fR \|and \fIinterrupt\fR \|packets generated by a DTE (or the
  3814. network) before initiation by the DTE or the DCE of a clear, reset or restart 
  3815. procedure at the local interface will either be delivered to the remote 
  3816. DTE 
  3817. before the DCE transmits the corresponding indication on the remote interface, 
  3818. or be discarded by the network. 
  3819. .PP
  3820. No \fIdata\fR \|or \fIinterrupt\fR packets generated by a DTE (or the network) 
  3821. after the completion of a reset (or for permanent virtual circuits also 
  3822. restart) procedure at the local interface will be delivered to the remote 
  3823. DTE before the completion of the corresponding reset procedure at the remote 
  3824. interface.
  3825. .PP
  3826. When a DTE initiates a clear, reset or restart procedure at its local interface, 
  3827. all \fIdata\fR \|and \fIinterrupt\fR packets which were generated by the 
  3828. remote DTE (or the network) before the corresponding indication is transmitted 
  3829. to the remote DTE will be either delivered to the initiating DTE before 
  3830. DCE 
  3831. confirmation of the initial clear, reset or restart request, or be discarded 
  3832. by the network. 
  3833. .PP
  3834. \fINote\fR \ \(em\ The maximum number of packets which may be discarded is a
  3835. function of network end\(hyto\(hyend delay and throughput characteristics 
  3836. and, in 
  3837. general, has no relation to the local window size. For virtual calls and
  3838. permanent virtual circuits on which all \fIdata\fR packets are transferred 
  3839. with the D\ bit set to\ 1, the maximum number of packets which may be discarded 
  3840. in one 
  3841. direction of transmission is not larger than the window size of the direction 
  3842. of transmission. 
  3843. .bp
  3844. .RT
  3845. .sp 2P
  3846. .LP
  3847. 4.6
  3848.      \fIEffects of the physical layer and the data link layer on the\fR \fIpacket 
  3849. layer\fR 
  3850. .sp 1P
  3851. .RT
  3852. .sp 1P
  3853. .LP
  3854. 4.6.1
  3855.     \fIGeneral principles\fR 
  3856. .sp 9p
  3857. .RT
  3858. .PP
  3859. In general, if a problem is detected in one layer (physical, data link 
  3860. or packet layer) and can be solved in this layer according to the DCE 
  3861. error recovery procedures provided in this Recommendation without loss or
  3862. duplication of data, the adjacent layers are not involved in the error
  3863. recovery.
  3864. .PP
  3865. If an error recovery by the DCE implies a possible loss or duplication 
  3866. of data, then the higher layer is informed. 
  3867. .PP
  3868. The reinitialization of one layer by the DCE is only performed if a
  3869. problem cannot be solved in this layer.
  3870. .PP
  3871. Changes of operational states of the physical layer and the data link layer 
  3872. of the DTE/DCE do not implicitly change the state of each logical channel 
  3873. at the packet layer. Such changes when they occur are expliciltly indicated 
  3874. at the packet layer by the use of restart, clear or reset procedures as 
  3875. appropriate.
  3876. .RT
  3877. .sp 1P
  3878. .LP
  3879. 4.6.2
  3880.     \fIDefinition of an\fR 
  3881. \fIout of order condition\fR 
  3882. .sp 9p
  3883. .RT
  3884. .PP
  3885. In the case of a single link procedure, there is an out of order
  3886. condition when:
  3887. .RT
  3888. .LP
  3889.     \(em
  3890.      a failure on the physical and/or data link layer is detected: such a 
  3891. failure is defined as a condition in which the DCE cannot transmit or 
  3892. cannot receive any frame because of abnormal conditions caused by, for
  3893. instance, a line default between DTE and\ DCE;
  3894. .LP
  3895.      \fINote\fR \ \(em\ Short physical layer outages (e.g. loss of carrier) 
  3896. are not considered as physical layer failures by the DCE and the data link 
  3897. layer 
  3898. and packet layer are not informed.
  3899. .LP
  3900.     \(em
  3901.     the DCE has received or transmitted a DISC
  3902. command.
  3903. .PP
  3904. There may be other out of order network\(hydependent conditions such as: 
  3905. reset of the data link layer, expiration of T3\ timer (see \(sc\ 2.4.5.3), 
  3906. receipt or transmission of a DM\ response,\ .\|.\|.\ etc.
  3907. .PP
  3908. In the case of the Multilink procedure, an out of order condition is considered 
  3909. as having occured when it is present at the same time for every 
  3910. single link procedure of the DTE/DCE interface. There may be other out 
  3911. of order network\(hydependent conditions such as the performance by DTE 
  3912. or DCE of the 
  3913. multilink resetting procedure (see \(sc\ 2.5.4.2), loss of multilink frame(s)
  3914. (see \(sc\ 2.5.4.4),\ etc.
  3915. .RT
  3916. .sp 1P
  3917. .LP
  3918. 4.6.3
  3919.     \fIActions on the packet layer when an out of order condition is\fR 
  3920. \fIdetected\fR 
  3921. .sp 9p
  3922. .RT
  3923. .PP
  3924. When an out of order ocndition is detected, the DCE will transmit to the 
  3925. remote end: 
  3926. .RT
  3927. .LP
  3928.     1)
  3929.     a reset with the cause \*QOut of order\*U for each permanent
  3930. virtual circuit; and
  3931. .LP
  3932.     2)
  3933.     a clear with the cause \*QOut of order\*U for each existing
  3934. virtual call.
  3935. .sp 1P
  3936. .LP
  3937. 4.6.4
  3938.     \fIActions on the packet layer during an out of order condition\fR 
  3939. .sp 9p
  3940. .RT
  3941. .PP
  3942. During an out of order condition:
  3943. .RT
  3944. .LP
  3945.     1)
  3946.     the DCE will clear any incoming virtual call with the cause
  3947. \*QOut of order\*U;
  3948. .LP
  3949.     2)
  3950.     for any \fIdata\fR \|or \fIinterrupt\fR \|packet received from the
  3951. remote DTE on a permanent virtual circuit, the DCE will reset
  3952. the permanent virtual circuit with the cause \*QOut of
  3953. order\*U;
  3954. .LP
  3955.     3)
  3956.     a \fIreset\fR \|packet received from the remote DTE on a
  3957. permanent virtual circuit will be confirmed to the remote DTE by
  3958. either \fIreset confirmation\fR or \fIreset indication\fR packet.
  3959. .sp 1P
  3960. .LP
  3961. 4.6.5
  3962.      \fIActions on the packet layer when the out of order condition is\fR 
  3963. \fIrecovered\fR 
  3964. .sp 9p
  3965. .RT
  3966. .PP
  3967. When the out of order condition is recovered:
  3968. .RT
  3969. .LP
  3970.     1)
  3971.     the DCE will send a \fIrestart indication\fR \|packet with the
  3972. cause \*QNetwork operational\*U to the local\ DTE;
  3973. .LP
  3974.     2)
  3975.     a reset with the cause \*QRemote DTE operational\*U will be
  3976. transmitted to the remote end of each permanent virtual
  3977. circuit.
  3978. .LP
  3979. .bp
  3980.